colour-1.1.0: A model for human colour/color perception

Data.Colour.SRGB.Linear

Description

Provides a linear colour space with the same gamut as Data.Colour.SRGB.

Synopsis

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.