newmana/chroma-elm/10.1.0

NOTE: the latest version is 18.2.1

Chroma.Converter.In.Hsla2Rgb

Convert HSL to RGB

Definition

hsla2rgb : HslaColor -> Color

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

hslaDegrees2rgb : HslaDegreesColor -> Color

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