@tempots/color
hsluv2xyz() function
Converts an HSLuv color to XYZ color space.
Signature:
hsluv2xyz: (hsluv: HSLuv, whiteReference?: [number, number, number]) => XYZ
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: XYZ
The converted XYZ color.