Construct a color from L*a*b* values.
Type of the color components.
Binary operators.
Binary operators.
Cast to other color types.
Binary assignment operators.
Binary assignment operators.
Unary operators.
Returns the perceptual distance between the specifies colors.
The color components that were specified.
A CIE L*a*b* color, parameterised for component type and white point.
Lab is a color space that describes all colors visible to the human eye and was created to serve as a device-independent model to be used as a reference. L* represents the lightness of the color; L* = 0 yields black and L* = 100 indicates diffuse white, specular white may be higher. a* represents the position between red/magenta and green; negative values indicate green while positive values indicate magenta. b* represents the position between yellow and blue; negative values indicate blue and positive values indicate yellow.
Lab is often found using default white point D50, but it is also common to use D65 when interacting with sRGB images.