The lightness component (0-1, will be scaled to 0-100 in CSS output)
The green-red component (negative values are green, positive values are red)
The blue-yellow component (negative values are blue, positive values are yellow)
Optional
alpha: numberThe alpha (opacity) component (0-1), optional
Optional
illuminant: IlluminantThe reference white point to use, defaults to D65
A new Lab color object
Creates a new Lab color object with the specified components.
This is the primary factory function for creating Lab colors in the library. The created object includes methods for conversion to other color spaces and string representations.