blucontrol-0.3.0.0: Configurable blue light filter
Safe HaskellNone
LanguageHaskell2010

Blucontrol.RGB

Synopsis

Documentation

class RGB c where Source #

convertible to 8-bit RGB values

Methods

toRGB :: c -> Trichromaticity Source #

Instances

Instances details
RGB Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

RGB Temperature Source # 
Instance details

Defined in Blucontrol.RGB.Temperature

data Chromaticity Source #

8-bit value for color channel intensity

Instances

Instances details
Bounded Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Enum Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Eq Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Integral Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Num Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Ord Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Read Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Real Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Show Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Generic Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Associated Types

type Rep Chromaticity :: Type -> Type #

Default Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Methods

def :: Chromaticity #

NFData Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Methods

rnf :: Chromaticity -> () #

type Rep Chromaticity Source # 
Instance details

Defined in Blucontrol.RGB

type Rep Chromaticity = D1 ('MetaData "Chromaticity" "Blucontrol.RGB" "blucontrol-0.3.0.0-inplace" 'True) (C1 ('MetaCons "Chromaticity" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

data Trichromaticity Source #

combination of Chromaticitys for the colors red, green and blue

Instances

Instances details
Bounded Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Enum Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Eq Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Ord Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Read Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Show Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Generic Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Associated Types

type Rep Trichromaticity :: Type -> Type #

Default Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

NFData Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

Methods

rnf :: Trichromaticity -> () #

RGB Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB

MonadBase IO m => MonadGamma (GammaLinearT Trichromaticity m) Source # 
Instance details

Defined in Blucontrol.Gamma.Linear

type Rep Trichromaticity Source # 
Instance details

Defined in Blucontrol.RGB