newmana/chroma-elm/4.0.2

NOTE: the latest version is 18.2.1

Chroma.Converter.In.Hsl2Rgb

Convert HSL to RGB

Definition

hsl2rgb : Hsla -> Color

Hue, Saturation and Lightness are clamped 0..1.

hslDegrees2rgb : HslaDegrees -> Color

Hue is measured in degrees and wrapped to the range 0..360. Saturation and Lightness are clamped 0..1.