@tempots/color

luv2xyz() function

Converts a color in LUV color space to XYZ color space.

Signature:

luv2xyz: (luv: LUV, whiteReference?: [number, number, number]) => XYZ

Parameters

Parameter

Type

Description

luv

LUV

The color in LUV color space.

whiteReference

[number, number, number]

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

Returns: XYZ

The color in XYZ color space.