lab()

Term side of the Card
Topic: Colors
Unit title: lab()
Categories: Function
Explanation side of the Card

Explanation: The color function that defines colors using the CIELAB color space, which separates lightness from two color components: 'a' (from green to red) and 'b' (from blue to yellow). It provides a more perceptually uniform way of defining colors, making it easier to achieve consistent color contrasts.

Browser compatibility:
  • The chrome browser supports this feature starting from version 111
  • The edge browser supports this feature starting from version 111
  • The firefox browser supports this feature starting from version 113
  • The safari browser supports this feature starting from version 15
Availability: