Copyright | (c) Alexey Kuleshevich 2018-2019 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
data AdobeRGB (i :: k) Source #
The most common AdobeRGB
color space with an arbitrary illuminant
Instances
transfer :: Floating a => a -> a Source #
AdobeRGB transfer function "gamma":
\[ \gamma(u) = u^{2.19921875} = u^\frac{563}{256} \]
Since: 0.1.0
itransfer :: Floating a => a -> a Source #
AdobeRGB inverse transfer function "gamma":
\[ \gamma^{-1}(u) = u^\frac{1}{2.19921875} = u^\frac{256}{563} \]
Since: 0.1.0
module Graphics.Color.Space