@tempots/color

cmyk2luv() function

Converts a CMYK color to LUV color space.

Signature:

cmyk2luv: (cmyk: CMYK, whiteReference?: [number, number, number]) => LUV

Parameters

Parameter

Type

Description

cmyk

CMYK

The CMYK color to convert.

whiteReference

[number, number, number]

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

Returns: LUV

The converted LUV color.