@tempots/color

luv2lch() function

Converts a color in LUV color space to LCH color space.

Signature:

luv2lch: (luv: LUV, whiteReference?: [number, number, number]) => LCH

Parameters

Parameter

Type

Description

luv

LUV

The LUV color to convert.

whiteReference

[number, number, number]

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

Returns: LCH

The color in LCH color space.