@tempots/color

luv2hsluv() function

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

Signature:

luv2hsluv: (luv: LUV, whiteReference?: [number, number, number]) => HSLuv

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: HSLuv

The color in HSLuv color space.