Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Data.Colour.RGBSpace.HSV
Documentation
An RGB triple for an unspecified colour space.
hsvView :: (Fractional a, Ord a) => RGB a -> (a, a, a) Source #
Returns the HSV (hue-saturation-value) coordinates of an RGB
triple.
See hue
, saturation
, and value
.
saturation :: (Fractional a, Ord a) => RGB a -> a Source #
Returns the saturation coordinate (range [0,1]) of an RGB
triple for the HSV
(hue-saturation-value) system.
Note: This is different from saturation
for
the Data.Colour.RGBSpace.HSL