@tempots/color

hsl2cmyk() function

Converts an HSL color to CMYK color.

Signature:

hsl2cmyk: (hsl: HSL) => CMYK

Parameters

Parameter

Type

Description

hsl

HSL

The HSL color to convert.

Returns: CMYK

The CMYK color.