@tempots/color

hsl2srgb() function

Converts an HSL color value to an SRGB color value.

Signature:

hsl2srgb: (hsl: HSL) => SRGB

Parameters

Parameter

Type

Description

hsl

HSL

The HSL color value to convert.

Returns: SRGB

The converted SRGB color value.