An RGB triple for an unspecified colour space.
Modulecolour-2.3.6Haskell98
Data.Colour.RGBSpace.HSL
- 1 type
- 5 values
- Packagecolour-2.3.6
- Exports6
- LanguageHaskell98
- LicenceMIT
- SourceRGB.hs
Returns the HSL (hue-saturation-lightness) coordinates of an RGB triple. See hue, saturation, and lightness.
Returns the saturation coordinate (range [0, 1]) of an RGB triple for the HSL (hue-saturation-lightness) system. Note: This is different from saturation for the Data.Colour.RGBSpace.HSV
Returns the lightness coordinate (range [0, 1]) of an RGB triple for the HSL (hue-saturation-lightness) system.
Convert HSL (hue-saturation-lightness) coordinates to an RGB value. Hue is expected to be measured in degrees [0,360], while saturation and lightness are expected to be in the closed range [0,1].