- data RGB a
- hslView :: (Fractional a, Ord a) => RGB a -> (a, a, a)
- hue :: (Fractional a, Ord a) => RGB a -> a
- saturation :: (Fractional a, Ord a) => RGB a -> a
- lightness :: (Fractional a, Ord a) => RGB a -> a
- hsl :: (RealFrac a, Ord a) => a -> a -> a -> RGB a

# 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`

.

hue :: (Fractional a, Ord a) => RGB a -> aSource

saturation :: (Fractional a, Ord a) => RGB a -> aSource

Returns the saturation coordinate of an `RGB`

triple for the HSL
(hue-saturation-lightness) system.
Note: This is different from `Data.Colour.RGBSpace.HSV.saturation`

for
the Data.Colour.RGBSpace.HSV