Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
toRGB :: c -> Trichromaticity Source #
Instances
RGB Trichromaticity Source # | |
Defined in Blucontrol.RGB | |
RGB Temperature Source # | |
Defined in Blucontrol.RGB.Temperature toRGB :: Temperature -> Trichromaticity Source # |
data Chromaticity Source #
8-bit value for color channel intensity
Instances
data Trichromaticity Source #
combination of Chromaticity
s for the colors red
, green
and blue