@tempots/color

luv2hsl() function

Converts a color from LUV color space to HSL color space.

Signature:

luv2hsl: (luv: LUV, whiteReference?: [number, number, number]) => HSL

Parameters

Parameter

Type

Description

luv

LUV

The LUV color to convert.

whiteReference

[number, number, number]

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

Returns: HSL

The color converted to HSL color space.