| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blucontrol.RGB
Synopsis
- class RGB c where
- toRGB :: c -> Trichromaticity
- data Chromaticity
- data Trichromaticity = Trichromaticity {
- red :: Chromaticity
- green :: Chromaticity
- blue :: Chromaticity
Documentation
convertible to 8-bit RGB values
Methods
toRGB :: c -> Trichromaticity Source #
Instances
| RGB Trichromaticity Source # | |
Defined in Blucontrol.RGB Methods | |
| RGB Temperature Source # | |
Defined in Blucontrol.RGB.Temperature Methods toRGB :: Temperature -> Trichromaticity Source # | |
data Chromaticity Source #
8-bit value for color channel intensity
Instances
data Trichromaticity Source #
combination of Chromaticitys for the colors red, green and blue
Constructors
| Trichromaticity | |
Fields
| |