@tempots/color

lab2luv() function

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

Signature:

lab2luv: (lab: LAB, whiteReference?: [number, number, number]) => LUV

Parameters

Parameter

Type

Description

lab

LAB

The LAB color to convert.

whiteReference

[number, number, number]

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

Returns: LUV

The color converted to LUV color space.