@tempots/color
hsl2luv() function
Converts an HSL color value to LUV color space.
Signature:
hsl2luv: (hsl: HSL, whiteReference?: [number, number, number]) => LUV
Parameters
Parameter |
Type |
Description |
---|---|---|
hsl |
The HSL color value to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference value. Defaults to WHITE_REFERENCE. |
Returns: LUV
The LUV color value.