@tempots/color
luv2lab() function
Converts a color in LUV color space to LAB color space.
Signature:
luv2lab: (luv: LUV, whiteReference?: [number, number, number]) => LAB
Parameters
Parameter |
Type |
Description |
---|---|---|
luv |
The color in LUV color space. | |
whiteReference |
[number, number, number] |
(Optional) The white reference color in LAB color space. Defaults to WHITE_REFERENCE. |
Returns: LAB
The color in LAB color space.