@tempots/color

hsl2xyz() function

Converts an HSL color to XYZ color space.

Signature:

hsl2xyz: (hsl: HSL) => XYZ

Parameters

Parameter

Type

Description

hsl

HSL

The HSL color to convert.

Returns: XYZ

The converted XYZ color.