@tempots/color

lch2lab() function

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

Signature:

lch2lab: (lch: LCH) => LAB

Parameters

Parameter

Type

Description

lch

LCH

The color in LCH color space.

Returns: LAB

The color in LAB color space.