@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

HSLuv

The HSLuv color value to convert.

whiteReference

[number, number, number]

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

Returns: SRGB

The converted sRGB color value.