@tempots/color
hsluv2hsl() function
Converts an HSLuv color to an HSL color.
Signature:
hsluv2hsl: (hsluv: HSLuv, whiteReference?: [number, number, number]) => HSL
Parameters
Parameter |
Type |
Description |
---|---|---|
hsluv |
The HSLuv color to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference used for the conversion. Defaults to |
Returns: HSL
The converted HSL color.