@tempots/color

hsluv2luv() function

Converts an HSLuv color to LUV color.

Signature:

hsluv2luv: (hsluv: HSLuv, whiteReference?: [number, number, number]) => LUV

Parameters

Parameter

Type

Description

hsluv

HSLuv

The HSLuv color to convert.

whiteReference

[number, number, number]

(Optional) The white reference used for the conversion. Defaults to WHITE_REFERENCE.

Returns: LUV

The converted LUV color.