@tempots/color

lch2cmyk() function

Converts an LCH color to CMYK color.

Signature:

lch2cmyk: (lch: LCH, whiteReference?: [number, number, number]) => CMYK

Parameters

Parameter

Type

Description

lch

LCH

The LCH color to convert.

whiteReference

[number, number, number]

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

Returns: CMYK

The CMYK color.