|
|
|
Description |
Provides a linear colour space with the same gamut as
Data.Colour.SRGB.
|
|
Synopsis |
|
|
|
Documentation |
|
|
This type represents the human preception of colour.
The a parameter is a numeric type used internally for the
representation.
The Monoid instance allows one to add colours, but beware that adding
colours can take you out of gamut. Consider using blend whenever
possible.
| Instances | |
|
|
|
An RGB triple for an unspecified colour space.
| Constructors | RGB | | channelRed :: !a | | channelGreen :: !a | | channelBlue :: !a | |
|
| Instances | |
|
|
|
Constructs a Colour from RGB values using the linear RGB colour
with the same gamut as sRGB.
|
|
|
Return RGB values using the linear RGB colour with the same gamut
as sRGB.
|
|
|
This is the gamut for the sRGB colour space.
|
|
Produced by Haddock version 2.6.0 |