newmana / chroma-elm / Chroma.Converter.In.Hsla2Rgb

Convert HSL to RGB

Definition

hsla2rgb : Chroma.Types.HslaColor -> Color

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

hslaDegrees2rgb : Chroma.Types.HslaDegreesColor -> Color

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