@tempots/color
hsv2lab() function
Converts an HSV color value to a LAB color value.
Signature:
hsv2lab: (hsv: HSV, whiteReference?: [number, number, number]) => LAB
Parameters
Parameter |
Type |
Description |
---|---|---|
hsv |
The HSV color value to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference used for the conversion. Defaults to WHITE_REFERENCE. |
Returns: LAB
The converted LAB color value.