@tempots/color

srgb2cmyk() function

Converts an SRGB color to CMYK color.

Signature:

srgb2cmyk: (srgb: SRGB) => CMYK

Parameters

Parameter

Type

Description

srgb

SRGB

The SRGB color to convert.

Returns: CMYK

The CMYK color.