@tempots/color

hsv2luv() function

Converts an HSV color value to an LUV color value.

Signature:

hsv2luv: (hsv: HSV, whiteReference?: [number, number, number]) => LUV

Parameters

Parameter

Type

Description

hsv

HSV

The HSV color value to convert.

whiteReference

[number, number, number]

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

Returns: LUV

The converted LUV color value.