Color-0.3.3: Color spaces and conversions between them
Copyright(c) Alexey Kuleshevich 2019-2020
LicenseBSD3
MaintainerAlexey Kuleshevich <lehins@yandex.ru>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Graphics.Color.Space.RGB.Derived.AdobeRGB

Description

 
Synopsis

Documentation

data AdobeRGB (i :: k) (l :: Linearity) Source #

The most common AdobeRGB color space with an arbitrary illuminant

Instances

Instances details
Illuminant i => RedGreenBlue (AdobeRGB i) (i :: k) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

gamut :: RealFloat e => Gamut (AdobeRGB i) i e Source #

transfer :: RealFloat e => e -> e Source #

itransfer :: RealFloat e => e -> e Source #

npm :: (ColorSpace (AdobeRGB i 'Linear) i e, RealFloat e) => NPM (AdobeRGB i) e Source #

inpm :: (ColorSpace (AdobeRGB i 'Linear) i e, RealFloat e) => INPM (AdobeRGB i) e Source #

mkColorRGB :: forall e (l :: Linearity). Color RGB e -> Color (AdobeRGB i l) e Source #

unColorRGB :: forall (l :: Linearity) e. Color (AdobeRGB i l) e -> Color RGB e Source #

(Illuminant i, Elevator e) => ColorSpace (AdobeRGB i 'NonLinear) (i :: k) e Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Associated Types

type BaseModel (AdobeRGB i 'NonLinear) Source #

type BaseSpace (AdobeRGB i 'NonLinear) Source #

(Illuminant i, Elevator e) => ColorSpace (AdobeRGB i 'Linear) (i :: k) e Source #

AdobeRGB linear color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Associated Types

type BaseModel (AdobeRGB i 'Linear) Source #

type BaseSpace (AdobeRGB i 'Linear) Source #

Functor (Color (AdobeRGB i l)) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

fmap :: (a -> b) -> Color (AdobeRGB i l) a -> Color (AdobeRGB i l) b #

(<$) :: a -> Color (AdobeRGB i l) b -> Color (AdobeRGB i l) a #

Applicative (Color (AdobeRGB i l)) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

pure :: a -> Color (AdobeRGB i l) a #

(<*>) :: Color (AdobeRGB i l) (a -> b) -> Color (AdobeRGB i l) a -> Color (AdobeRGB i l) b #

liftA2 :: (a -> b -> c) -> Color (AdobeRGB i l) a -> Color (AdobeRGB i l) b -> Color (AdobeRGB i l) c #

(*>) :: Color (AdobeRGB i l) a -> Color (AdobeRGB i l) b -> Color (AdobeRGB i l) b #

(<*) :: Color (AdobeRGB i l) a -> Color (AdobeRGB i l) b -> Color (AdobeRGB i l) a #

Foldable (Color (AdobeRGB i l)) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

fold :: Monoid m => Color (AdobeRGB i l) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (AdobeRGB i l) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (AdobeRGB i l) a -> m #

foldr :: (a -> b -> b) -> b -> Color (AdobeRGB i l) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (AdobeRGB i l) a -> b #

foldl :: (b -> a -> b) -> b -> Color (AdobeRGB i l) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (AdobeRGB i l) a -> b #

foldr1 :: (a -> a -> a) -> Color (AdobeRGB i l) a -> a #

foldl1 :: (a -> a -> a) -> Color (AdobeRGB i l) a -> a #

toList :: Color (AdobeRGB i l) a -> [a] #

null :: Color (AdobeRGB i l) a -> Bool #

length :: Color (AdobeRGB i l) a -> Int #

elem :: Eq a => a -> Color (AdobeRGB i l) a -> Bool #

maximum :: Ord a => Color (AdobeRGB i l) a -> a #

minimum :: Ord a => Color (AdobeRGB i l) a -> a #

sum :: Num a => Color (AdobeRGB i l) a -> a #

product :: Num a => Color (AdobeRGB i l) a -> a #

Traversable (Color (AdobeRGB i l)) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

traverse :: Applicative f => (a -> f b) -> Color (AdobeRGB i l) a -> f (Color (AdobeRGB i l) b) #

sequenceA :: Applicative f => Color (AdobeRGB i l) (f a) -> f (Color (AdobeRGB i l) a) #

mapM :: Monad m => (a -> m b) -> Color (AdobeRGB i l) a -> m (Color (AdobeRGB i l) b) #

sequence :: Monad m => Color (AdobeRGB i l) (m a) -> m (Color (AdobeRGB i l) a) #

Eq e => Eq (Color (AdobeRGB i l) e) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

(==) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

(/=) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

Ord e => Ord (Color (AdobeRGB i l) e) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

compare :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Ordering #

(<) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

(<=) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

(>) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

(>=) :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Bool #

max :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e #

min :: Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e -> Color (AdobeRGB i l) e #

(Typeable l, Illuminant i, Elevator e) => Show (Color (AdobeRGB i l) e) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

showsPrec :: Int -> Color (AdobeRGB i l) e -> ShowS #

show :: Color (AdobeRGB i l) e -> String #

showList :: [Color (AdobeRGB i l) e] -> ShowS #

Storable e => Storable (Color (AdobeRGB i l) e) Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Methods

sizeOf :: Color (AdobeRGB i l) e -> Int #

alignment :: Color (AdobeRGB i l) e -> Int #

peekElemOff :: Ptr (Color (AdobeRGB i l) e) -> Int -> IO (Color (AdobeRGB i l) e) #

pokeElemOff :: Ptr (Color (AdobeRGB i l) e) -> Int -> Color (AdobeRGB i l) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (AdobeRGB i l) e) #

pokeByteOff :: Ptr b -> Int -> Color (AdobeRGB i l) e -> IO () #

peek :: Ptr (Color (AdobeRGB i l) e) -> IO (Color (AdobeRGB i l) e) #

poke :: Ptr (Color (AdobeRGB i l) e) -> Color (AdobeRGB i l) e -> IO () #

(Typeable l, Illuminant i, Elevator e) => ColorModel (AdobeRGB i l) e Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

Associated Types

type Components (AdobeRGB i l) e Source #

newtype Color (AdobeRGB i l) e Source #

AdobeRGB color space (derived)

Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

newtype Color (AdobeRGB i l) e = AdobeRGB (Color RGB e)
type BaseModel (AdobeRGB i 'NonLinear) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

type BaseModel (AdobeRGB i 'Linear) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

type BaseSpace (AdobeRGB i 'NonLinear) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

type BaseSpace (AdobeRGB i 'Linear) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

type Components (AdobeRGB i l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Derived.AdobeRGB

type Components (AdobeRGB i l) e = (e, e, e)