Copyright | (C) 2013 Parnell Springmeyer |
---|---|
License | BSD3 |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | Safe |
Language | Haskell2010 |
- newtype HexRGB = HexRGB {}
- type Percent = Integer
- newtype ColorCoord a = ColorCoord (a, a, a)
- (<$$$>) :: (a -> b) -> (a, a, a) -> (b, b, b)
- (<***>) :: (a -> b, a -> b, a -> b) -> (a, a, a) -> (b, b, b)
Documentation
Hexadecimal encoded RGB color with an octothorpe prefix; e.g:
#AB9D92
.
Please see decodeHex
.
newtype ColorCoord a Source #
A generic representation of a color triple; this may be *any*
color space so you should not construct colors with ColorCoord
and instead you should use specialized color constructors from the
RGB
module or CIE
module.
ColorCoord (a, a, a) |
Monad ColorCoord Source # | |
Functor ColorCoord Source # | |
Applicative ColorCoord Source # | |
Foldable ColorCoord Source # | |
Traversable ColorCoord Source # | |
Eq a => Eq (ColorCoord a) Source # | |
Ord a => Ord (ColorCoord a) Source # | |
Read a => Read (ColorCoord a) Source # | |
Show a => Show (ColorCoord a) Source # | |