@tempots/color

lab2lch() function

Converts a LAB color to LCH color.

Signature:

lab2lch: (lab: LAB) => LCH

Parameters

Parameter

Type

Description

lab

LAB

The LAB color to convert.

Returns: LCH

The converted LCH color.