Copyright | [2016..2020] Trevor L. McDonell |
---|---|
License | BSD3 |
Maintainer | Trevor L. McDonell <trevor.mcdonell@gmail.com> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Colours in the sRGB standard.
Documentation
Construct an sRGB colour from individual channel components. The components will be clamped to the range [0..1].
Construct an sRGB colour from 8-bit-per-channel colour components.