@tempots/color
hsluv2srgb() function
Converts an HSLuv color value to an sRGB color value.
Signature:
hsluv2srgb: (hsluv: HSLuv, whiteReference?: [number, number, number]) => SRGB
Parameters
Parameter |
Type |
Description |
---|---|---|
hsluv |
The HSLuv color value to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference value. Defaults to |
Returns: SRGB
The converted sRGB color value.