@tempots/color

cmyk2hsl() function

Converts a CMYK color to an HSL color.

Signature:

cmyk2hsl: (cmyk: CMYK) => HSL

Parameters

Parameter

Type

Description

cmyk

CMYK

The CMYK color to convert.

Returns: HSL

The corresponding HSL color.