Copyright | (c) Alexey Kuleshevich 2019-2020 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Graphics.Color.Space.RGB
Description
Synopsis
- pattern ColorSRGB :: e -> e -> e -> Color SRGB e
- pattern ColorSRGBA :: e -> e -> e -> e -> Color (Alpha SRGB) e
- data SRGB
- data D65
- module Graphics.Color.Space
- module Graphics.Color.Space.RGB.Alternative
- module Graphics.Color.Space.RGB.Luma
Default sRGB color space
pattern ColorSRGB :: e -> e -> e -> Color SRGB e Source #
Constructor for a color in sRGB
color space
Since: 0.1.0
pattern ColorSRGBA :: e -> e -> e -> e -> Color (Alpha SRGB) e Source #
Constructor for a color in sRGB
color space with alphs channel
Since: 0.1.0
Instances
Whitepoint D65 that is so commonly used for sRGB and other color spaces defined by ITU: Rec.601 (525 and 625) and Rec.709 standards. It is slightly different than the one defined by CIE1931, thus a separate daclaration in here.
Instances
Re-exports
module Graphics.Color.Space