@tempots/color

lch2luv() function

Converts a color from LCH (Lightness, Chroma, Hue) to LUV (Lightness, U, V) color space.

Signature:

lch2luv: (lch: LCH, whiteReference?: [number, number, number]) => LUV

Parameters

Parameter

Type

Description

lch

LCH

The LCH color to convert.

whiteReference

[number, number, number]

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

Returns: LUV

The color converted to LUV color space.