- data RGB a
- hsvView :: (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
- value :: (Fractional a, Ord a) => RGB a -> a
- hsv :: (RealFrac a, Ord a) => a -> a -> a -> RGB a

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

.

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 HSV
(hue-saturation-value) system.
Note: This is different from `Data.Colour.RGBSpace.HSL.saturation`

for
the Data.Colour.RGBSpace.HSL