Provides a linear colour space with the same gamut as Data.Colour.SRGB.
- rgb :: Fractional a => a -> a -> a -> Colour a
- toRGB :: Fractional a => Colour a -> RGB a
- sRGBGamut :: RGBGamut
Documentation
rgb :: Fractional a => a -> a -> a -> Colour aSource
Constructs a Colour
from RGB values using the linear RGB colour
with the same gamut as sRGB.
toRGB :: Fractional a => Colour a -> RGB aSource
Return RGB values using the linear RGB colour with the same gamut as sRGB.