@tempots/color

xyz2cmyk() function

Converts an XYZ color to CMYK color.

Signature:

xyz2cmyk: (xyz: XYZ) => CMYK

Parameters

Parameter

Type

Description

xyz

XYZ

The XYZ color to convert.

Returns: CMYK

The CMYK color representation of the XYZ color.