@tempots/color

hsluv2rgb() function

Converts an HSLuv color value to an RGB color value.

Signature:

hsluv2rgb: (hsluv: HSLuv, whiteReference?: [number, number, number]) => RGB

Parameters

Parameter

Type

Description

hsluv

HSLuv

The HSLuv color value to convert.

whiteReference

[number, number, number]

(Optional) The white reference value. Defaults to WHITE_REFERENCE.

Returns: RGB

The converted RGB color value.