| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Data.Colour.RGBSpace.HSL
Documentation
An RGB triple for an unspecified colour space.
hslView :: (Fractional a, Ord a) => RGB a -> (a, a, a) Source #
Returns the HSL (hue-saturation-lightness) coordinates of an RGB triple.
See hue, saturation, and lightness.
saturation :: (Fractional a, Ord a) => RGB a -> a Source #
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