Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Brightness
- data WithBrightness a = WithBrightness {
- brightness :: Brightness
- color :: a
- applyBrightnessToRGB :: (Integral a, Real a) => WithBrightness (RGB a) -> RGB a
Documentation
data Brightness Source #
Arbitrary precision brightness between 0 and 1
Instances
data WithBrightness a Source #
Combination of a color value and a Brightness
WithBrightness | |
|
Instances
applyBrightnessToRGB :: (Integral a, Real a) => WithBrightness (RGB a) -> RGB a Source #