@tempots/color

lch2rgb() function

Converts an LCH color value to an RGB color value.

Signature:

lch2rgb: (lch: LCH, whiteReference?: [number, number, number]) => RGB

Parameters

Parameter

Type

Description

lch

LCH

The LCH color value to convert.

whiteReference

[number, number, number]

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

Returns: RGB

The converted RGB color value.