Color-0.3.3: Color spaces and conversions between them
Safe HaskellNone
LanguageHaskell2010

Graphics.Color.Space.CIE1976.LUV.LCH

Description

 
Synopsis

Documentation

pattern ColorLCHuv :: e -> e -> e -> Color (LCHuv i) e Source #

Constructor for a CIEL*u*v* color space in a cylindrical L*C*h parameterization

pattern ColorLCHuvA :: e -> e -> e -> e -> Color (Alpha (LCHuv i)) e Source #

Constructor for a LCHuv with alpha

data LCHuv (i :: k) Source #

CIE L*C*Huv, an LCH representation for the L*u*v* color space

Instances

Instances details
(Illuminant i, Elevator e, ColorSpace (LUV i) i e) => ColorSpace (LCHuv i) (i :: k) e Source # 
Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Associated Types

type BaseModel (LCHuv i) Source #

type BaseSpace (LCHuv i) Source #

Functor (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

fmap :: (a -> b) -> Color (LCHuv i) a -> Color (LCHuv i) b #

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

Applicative (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

pure :: a -> Color (LCHuv i) a #

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

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

(*>) :: Color (LCHuv i) a -> Color (LCHuv i) b -> Color (LCHuv i) b #

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

Foldable (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (LCHuv i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (LCHuv i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (LCHuv i) a -> a #

foldl1 :: (a -> a -> a) -> Color (LCHuv i) a -> a #

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

null :: Color (LCHuv i) a -> Bool #

length :: Color (LCHuv i) a -> Int #

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

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

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

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

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

Traversable (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

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

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

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

Eq e => Eq (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

(==) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

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

Ord e => Ord (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

compare :: Color (LCHuv i) e -> Color (LCHuv i) e -> Ordering #

(<) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

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

(>) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

(>=) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

max :: Color (LCHuv i) e -> Color (LCHuv i) e -> Color (LCHuv i) e #

min :: Color (LCHuv i) e -> Color (LCHuv i) e -> Color (LCHuv i) e #

(Illuminant i, Elevator e) => Show (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

show :: Color (LCHuv i) e -> String #

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

Storable e => Storable (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

sizeOf :: Color (LCHuv i) e -> Int #

alignment :: Color (LCHuv i) e -> Int #

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

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

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

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

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

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

(Illuminant i, Elevator e, ColorModel (LUV i) e) => ColorModel (LCHuv i) e Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Associated Types

type Components (LCHuv i) e Source #

newtype Color (LCHuv i) e Source #

Color in CIE L*C*Huv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

newtype Color (LCHuv i) e = LCHuv (Color LCH e)
type BaseModel (LCHuv i) Source # 
Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

type BaseModel (LCHuv i) = LCH
type BaseSpace (LCHuv i) Source # 
Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

type BaseSpace (LCHuv i) = LUV i
type Components (LCHuv i) e Source # 
Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

type Components (LCHuv i) e = (e, e, e)

data family Color cs e :: Type Source #

A Color family with a color space and a precision of elements.

Instances

Instances details
ColorModel cs e => Vector Vector (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Color cs e) -> m (Vector (Color cs e)) #

basicUnsafeThaw :: PrimMonad m => Vector (Color cs e) -> m (Mutable Vector (PrimState m) (Color cs e)) #

basicLength :: Vector (Color cs e) -> Int #

basicUnsafeSlice :: Int -> Int -> Vector (Color cs e) -> Vector (Color cs e) #

basicUnsafeIndexM :: Monad m => Vector (Color cs e) -> Int -> m (Color cs e) #

basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Color cs e) -> Vector (Color cs e) -> m () #

elemseq :: Vector (Color cs e) -> Color cs e -> b -> b #

ColorModel cs e => MVector MVector (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

basicLength :: MVector s (Color cs e) -> Int #

basicUnsafeSlice :: Int -> Int -> MVector s (Color cs e) -> MVector s (Color cs e) #

basicOverlaps :: MVector s (Color cs e) -> MVector s (Color cs e) -> Bool #

basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Color cs e)) #

basicInitialize :: PrimMonad m => MVector (PrimState m) (Color cs e) -> m () #

basicUnsafeReplicate :: PrimMonad m => Int -> Color cs e -> m (MVector (PrimState m) (Color cs e)) #

basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Color cs e) -> Int -> m (Color cs e) #

basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Color cs e) -> Int -> Color cs e -> m () #

basicClear :: PrimMonad m => MVector (PrimState m) (Color cs e) -> m () #

basicSet :: PrimMonad m => MVector (PrimState m) (Color cs e) -> Color cs e -> m () #

basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Color cs e) -> MVector (PrimState m) (Color cs e) -> m () #

basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Color cs e) -> MVector (PrimState m) (Color cs e) -> m () #

basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Color cs e) -> Int -> m (MVector (PrimState m) (Color cs e)) #

Functor (Color cs) => Functor (Color (Alpha cs)) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

fmap :: (a -> b) -> Color (Alpha cs) a -> Color (Alpha cs) b #

(<$) :: a -> Color (Alpha cs) b -> Color (Alpha cs) a #

Functor (Color LCH) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

fmap :: (a -> b) -> Color LCH a -> Color LCH b #

(<$) :: a -> Color LCH b -> Color LCH a #

Functor (Color RGB) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

fmap :: (a -> b) -> Color RGB a -> Color RGB b #

(<$) :: a -> Color RGB b -> Color RGB a #

Functor (Color HSV) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

fmap :: (a -> b) -> Color HSV a -> Color HSV b #

(<$) :: a -> Color HSV b -> Color HSV a #

Functor (Color HSL) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

fmap :: (a -> b) -> Color HSL a -> Color HSL b #

(<$) :: a -> Color HSL b -> Color HSL a #

Functor (Color HSI) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

fmap :: (a -> b) -> Color HSI a -> Color HSI b #

(<$) :: a -> Color HSI b -> Color HSI a #

Functor (Color CMYK) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

fmap :: (a -> b) -> Color CMYK a -> Color CMYK b #

(<$) :: a -> Color CMYK b -> Color CMYK a #

Functor (Color X) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

fmap :: (a -> b) -> Color X a -> Color X b #

(<$) :: a -> Color X b -> Color X a #

Functor (Color YCbCr) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

fmap :: (a -> b) -> Color YCbCr a -> Color YCbCr b #

(<$) :: a -> Color YCbCr b -> Color YCbCr a #

Functor (Color (Y i)) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

fmap :: (a -> b) -> Color (Y i) a -> Color (Y i) b #

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

Functor (Color (CIExyY i)) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

fmap :: (a -> b) -> Color (CIExyY i) a -> Color (CIExyY i) b #

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

Functor (Color (XYZ i)) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

fmap :: (a -> b) -> Color (XYZ i) a -> Color (XYZ i) b #

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

Functor (Color (LUV i)) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

fmap :: (a -> b) -> Color (LUV i) a -> Color (LUV i) b #

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

Functor (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

fmap :: (a -> b) -> Color (LCHuv i) a -> Color (LCHuv i) b #

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

Functor (Color (LAB i)) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

fmap :: (a -> b) -> Color (LAB i) a -> Color (LAB i) b #

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

Functor (Color (LCHab i)) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

fmap :: (a -> b) -> Color (LCHab i) a -> Color (LCHab i) b #

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

Functor (Color (BT470_625 l)) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

fmap :: (a -> b) -> Color (BT470_625 l) a -> Color (BT470_625 l) b #

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

Functor (Color (BT470_525 l)) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

fmap :: (a -> b) -> Color (BT470_525 l) a -> Color (BT470_525 l) b #

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

Functor (Color (HSV cs)) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

fmap :: (a -> b) -> Color (HSV cs) a -> Color (HSV cs) b #

(<$) :: a -> Color (HSV cs) b -> Color (HSV cs) a #

Functor (Color (HSL cs)) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

fmap :: (a -> b) -> Color (HSL cs) a -> Color (HSL cs) b #

(<$) :: a -> Color (HSL cs) b -> Color (HSL cs) a #

Functor (Color (HSI cs)) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

fmap :: (a -> b) -> Color (HSI cs) a -> Color (HSI cs) b #

(<$) :: a -> Color (HSI cs) b -> Color (HSI cs) a #

Functor (Color (CIERGB l)) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

fmap :: (a -> b) -> Color (CIERGB l) a -> Color (CIERGB l) b #

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

Functor (Color (CIERGB i l)) Source #

CIERGB color space (derived)

Instance details

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

Methods

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

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

Functor (Color (Y' cs)) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

fmap :: (a -> b) -> Color (Y' cs) a -> Color (Y' cs) b #

(<$) :: a -> Color (Y' cs) b -> Color (Y' cs) a #

Functor (Color (BT601_625 l)) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

fmap :: (a -> b) -> Color (BT601_625 l) a -> Color (BT601_625 l) b #

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

Functor (Color (BT601_525 l)) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

fmap :: (a -> b) -> Color (BT601_525 l) a -> Color (BT601_525 l) b #

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

Functor (Color (BT709 l)) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

fmap :: (a -> b) -> Color (BT709 l) a -> Color (BT709 l) b #

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

Functor (Color (AdobeRGB l)) Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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 #

Functor (Color (SRGB l)) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

fmap :: (a -> b) -> Color (SRGB l) a -> Color (SRGB l) b #

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

Functor (Color (SRGB i l)) Source #

SRGB color space (derived)

Instance details

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

Methods

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

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

Functor (Color (Y'CbCr cs)) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

fmap :: (a -> b) -> Color (Y'CbCr cs) a -> Color (Y'CbCr cs) b #

(<$) :: a -> Color (Y'CbCr cs) b -> Color (Y'CbCr cs) a #

Functor (Color (CMYK cs)) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

fmap :: (a -> b) -> Color (CMYK cs) a -> Color (CMYK cs) b #

(<$) :: a -> Color (CMYK cs) b -> Color (CMYK cs) a #

Applicative (Color cs) => Applicative (Color (Alpha cs)) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

pure :: a -> Color (Alpha cs) a #

(<*>) :: Color (Alpha cs) (a -> b) -> Color (Alpha cs) a -> Color (Alpha cs) b #

liftA2 :: (a -> b -> c) -> Color (Alpha cs) a -> Color (Alpha cs) b -> Color (Alpha cs) c #

(*>) :: Color (Alpha cs) a -> Color (Alpha cs) b -> Color (Alpha cs) b #

(<*) :: Color (Alpha cs) a -> Color (Alpha cs) b -> Color (Alpha cs) a #

Applicative (Color LCH) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

pure :: a -> Color LCH a #

(<*>) :: Color LCH (a -> b) -> Color LCH a -> Color LCH b #

liftA2 :: (a -> b -> c) -> Color LCH a -> Color LCH b -> Color LCH c #

(*>) :: Color LCH a -> Color LCH b -> Color LCH b #

(<*) :: Color LCH a -> Color LCH b -> Color LCH a #

Applicative (Color RGB) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

pure :: a -> Color RGB a #

(<*>) :: Color RGB (a -> b) -> Color RGB a -> Color RGB b #

liftA2 :: (a -> b -> c) -> Color RGB a -> Color RGB b -> Color RGB c #

(*>) :: Color RGB a -> Color RGB b -> Color RGB b #

(<*) :: Color RGB a -> Color RGB b -> Color RGB a #

Applicative (Color HSV) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

pure :: a -> Color HSV a #

(<*>) :: Color HSV (a -> b) -> Color HSV a -> Color HSV b #

liftA2 :: (a -> b -> c) -> Color HSV a -> Color HSV b -> Color HSV c #

(*>) :: Color HSV a -> Color HSV b -> Color HSV b #

(<*) :: Color HSV a -> Color HSV b -> Color HSV a #

Applicative (Color HSL) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

pure :: a -> Color HSL a #

(<*>) :: Color HSL (a -> b) -> Color HSL a -> Color HSL b #

liftA2 :: (a -> b -> c) -> Color HSL a -> Color HSL b -> Color HSL c #

(*>) :: Color HSL a -> Color HSL b -> Color HSL b #

(<*) :: Color HSL a -> Color HSL b -> Color HSL a #

Applicative (Color HSI) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

pure :: a -> Color HSI a #

(<*>) :: Color HSI (a -> b) -> Color HSI a -> Color HSI b #

liftA2 :: (a -> b -> c) -> Color HSI a -> Color HSI b -> Color HSI c #

(*>) :: Color HSI a -> Color HSI b -> Color HSI b #

(<*) :: Color HSI a -> Color HSI b -> Color HSI a #

Applicative (Color CMYK) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

pure :: a -> Color CMYK a #

(<*>) :: Color CMYK (a -> b) -> Color CMYK a -> Color CMYK b #

liftA2 :: (a -> b -> c) -> Color CMYK a -> Color CMYK b -> Color CMYK c #

(*>) :: Color CMYK a -> Color CMYK b -> Color CMYK b #

(<*) :: Color CMYK a -> Color CMYK b -> Color CMYK a #

Applicative (Color X) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

pure :: a -> Color X a #

(<*>) :: Color X (a -> b) -> Color X a -> Color X b #

liftA2 :: (a -> b -> c) -> Color X a -> Color X b -> Color X c #

(*>) :: Color X a -> Color X b -> Color X b #

(<*) :: Color X a -> Color X b -> Color X a #

Applicative (Color YCbCr) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

pure :: a -> Color YCbCr a #

(<*>) :: Color YCbCr (a -> b) -> Color YCbCr a -> Color YCbCr b #

liftA2 :: (a -> b -> c) -> Color YCbCr a -> Color YCbCr b -> Color YCbCr c #

(*>) :: Color YCbCr a -> Color YCbCr b -> Color YCbCr b #

(<*) :: Color YCbCr a -> Color YCbCr b -> Color YCbCr a #

Applicative (Color (Y i)) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

pure :: a -> Color (Y i) a #

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

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

(*>) :: Color (Y i) a -> Color (Y i) b -> Color (Y i) b #

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

Applicative (Color (CIExyY i)) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

pure :: a -> Color (CIExyY i) a #

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

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

(*>) :: Color (CIExyY i) a -> Color (CIExyY i) b -> Color (CIExyY i) b #

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

Applicative (Color (XYZ i)) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

pure :: a -> Color (XYZ i) a #

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

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

(*>) :: Color (XYZ i) a -> Color (XYZ i) b -> Color (XYZ i) b #

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

Applicative (Color (LUV i)) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

pure :: a -> Color (LUV i) a #

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

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

(*>) :: Color (LUV i) a -> Color (LUV i) b -> Color (LUV i) b #

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

Applicative (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

pure :: a -> Color (LCHuv i) a #

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

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

(*>) :: Color (LCHuv i) a -> Color (LCHuv i) b -> Color (LCHuv i) b #

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

Applicative (Color (LAB i)) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

pure :: a -> Color (LAB i) a #

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

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

(*>) :: Color (LAB i) a -> Color (LAB i) b -> Color (LAB i) b #

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

Applicative (Color (LCHab i)) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

pure :: a -> Color (LCHab i) a #

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

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

(*>) :: Color (LCHab i) a -> Color (LCHab i) b -> Color (LCHab i) b #

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

Applicative (Color (BT470_625 l)) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

pure :: a -> Color (BT470_625 l) a #

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

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

(*>) :: Color (BT470_625 l) a -> Color (BT470_625 l) b -> Color (BT470_625 l) b #

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

Applicative (Color (BT470_525 l)) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

pure :: a -> Color (BT470_525 l) a #

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

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

(*>) :: Color (BT470_525 l) a -> Color (BT470_525 l) b -> Color (BT470_525 l) b #

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

Applicative (Color (HSV cs)) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

pure :: a -> Color (HSV cs) a #

(<*>) :: Color (HSV cs) (a -> b) -> Color (HSV cs) a -> Color (HSV cs) b #

liftA2 :: (a -> b -> c) -> Color (HSV cs) a -> Color (HSV cs) b -> Color (HSV cs) c #

(*>) :: Color (HSV cs) a -> Color (HSV cs) b -> Color (HSV cs) b #

(<*) :: Color (HSV cs) a -> Color (HSV cs) b -> Color (HSV cs) a #

Applicative (Color (HSL cs)) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

pure :: a -> Color (HSL cs) a #

(<*>) :: Color (HSL cs) (a -> b) -> Color (HSL cs) a -> Color (HSL cs) b #

liftA2 :: (a -> b -> c) -> Color (HSL cs) a -> Color (HSL cs) b -> Color (HSL cs) c #

(*>) :: Color (HSL cs) a -> Color (HSL cs) b -> Color (HSL cs) b #

(<*) :: Color (HSL cs) a -> Color (HSL cs) b -> Color (HSL cs) a #

Applicative (Color (HSI cs)) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

pure :: a -> Color (HSI cs) a #

(<*>) :: Color (HSI cs) (a -> b) -> Color (HSI cs) a -> Color (HSI cs) b #

liftA2 :: (a -> b -> c) -> Color (HSI cs) a -> Color (HSI cs) b -> Color (HSI cs) c #

(*>) :: Color (HSI cs) a -> Color (HSI cs) b -> Color (HSI cs) b #

(<*) :: Color (HSI cs) a -> Color (HSI cs) b -> Color (HSI cs) a #

Applicative (Color (CIERGB l)) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

pure :: a -> Color (CIERGB l) a #

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

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

(*>) :: Color (CIERGB l) a -> Color (CIERGB l) b -> Color (CIERGB l) b #

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

Applicative (Color (CIERGB i l)) Source #

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

Applicative (Color (Y' cs)) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

pure :: a -> Color (Y' cs) a #

(<*>) :: Color (Y' cs) (a -> b) -> Color (Y' cs) a -> Color (Y' cs) b #

liftA2 :: (a -> b -> c) -> Color (Y' cs) a -> Color (Y' cs) b -> Color (Y' cs) c #

(*>) :: Color (Y' cs) a -> Color (Y' cs) b -> Color (Y' cs) b #

(<*) :: Color (Y' cs) a -> Color (Y' cs) b -> Color (Y' cs) a #

Applicative (Color (BT601_625 l)) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

pure :: a -> Color (BT601_625 l) a #

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

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

(*>) :: Color (BT601_625 l) a -> Color (BT601_625 l) b -> Color (BT601_625 l) b #

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

Applicative (Color (BT601_525 l)) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

pure :: a -> Color (BT601_525 l) a #

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

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

(*>) :: Color (BT601_525 l) a -> Color (BT601_525 l) b -> Color (BT601_525 l) b #

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

Applicative (Color (BT709 l)) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

pure :: a -> Color (BT709 l) a #

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

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

(*>) :: Color (BT709 l) a -> Color (BT709 l) b -> Color (BT709 l) b #

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

Applicative (Color (AdobeRGB l)) Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

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

(<*) :: Color (AdobeRGB l) a -> Color (AdobeRGB l) b -> Color (AdobeRGB 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 #

Applicative (Color (SRGB l)) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

pure :: a -> Color (SRGB l) a #

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

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

(*>) :: Color (SRGB l) a -> Color (SRGB l) b -> Color (SRGB l) b #

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

Applicative (Color (SRGB i l)) Source #

SRGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

Applicative (Color (Y'CbCr cs)) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

pure :: a -> Color (Y'CbCr cs) a #

(<*>) :: Color (Y'CbCr cs) (a -> b) -> Color (Y'CbCr cs) a -> Color (Y'CbCr cs) b #

liftA2 :: (a -> b -> c) -> Color (Y'CbCr cs) a -> Color (Y'CbCr cs) b -> Color (Y'CbCr cs) c #

(*>) :: Color (Y'CbCr cs) a -> Color (Y'CbCr cs) b -> Color (Y'CbCr cs) b #

(<*) :: Color (Y'CbCr cs) a -> Color (Y'CbCr cs) b -> Color (Y'CbCr cs) a #

Applicative (Color (CMYK cs)) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

pure :: a -> Color (CMYK cs) a #

(<*>) :: Color (CMYK cs) (a -> b) -> Color (CMYK cs) a -> Color (CMYK cs) b #

liftA2 :: (a -> b -> c) -> Color (CMYK cs) a -> Color (CMYK cs) b -> Color (CMYK cs) c #

(*>) :: Color (CMYK cs) a -> Color (CMYK cs) b -> Color (CMYK cs) b #

(<*) :: Color (CMYK cs) a -> Color (CMYK cs) b -> Color (CMYK cs) a #

Foldable (Color cs) => Foldable (Color (Alpha cs)) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

fold :: Monoid m => Color (Alpha cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (Alpha cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (Alpha cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (Alpha cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (Alpha cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (Alpha cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (Alpha cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (Alpha cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (Alpha cs) a -> a #

toList :: Color (Alpha cs) a -> [a] #

null :: Color (Alpha cs) a -> Bool #

length :: Color (Alpha cs) a -> Int #

elem :: Eq a => a -> Color (Alpha cs) a -> Bool #

maximum :: Ord a => Color (Alpha cs) a -> a #

minimum :: Ord a => Color (Alpha cs) a -> a #

sum :: Num a => Color (Alpha cs) a -> a #

product :: Num a => Color (Alpha cs) a -> a #

Foldable (Color LCH) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

fold :: Monoid m => Color LCH m -> m #

foldMap :: Monoid m => (a -> m) -> Color LCH a -> m #

foldMap' :: Monoid m => (a -> m) -> Color LCH a -> m #

foldr :: (a -> b -> b) -> b -> Color LCH a -> b #

foldr' :: (a -> b -> b) -> b -> Color LCH a -> b #

foldl :: (b -> a -> b) -> b -> Color LCH a -> b #

foldl' :: (b -> a -> b) -> b -> Color LCH a -> b #

foldr1 :: (a -> a -> a) -> Color LCH a -> a #

foldl1 :: (a -> a -> a) -> Color LCH a -> a #

toList :: Color LCH a -> [a] #

null :: Color LCH a -> Bool #

length :: Color LCH a -> Int #

elem :: Eq a => a -> Color LCH a -> Bool #

maximum :: Ord a => Color LCH a -> a #

minimum :: Ord a => Color LCH a -> a #

sum :: Num a => Color LCH a -> a #

product :: Num a => Color LCH a -> a #

Foldable (Color RGB) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

fold :: Monoid m => Color RGB m -> m #

foldMap :: Monoid m => (a -> m) -> Color RGB a -> m #

foldMap' :: Monoid m => (a -> m) -> Color RGB a -> m #

foldr :: (a -> b -> b) -> b -> Color RGB a -> b #

foldr' :: (a -> b -> b) -> b -> Color RGB a -> b #

foldl :: (b -> a -> b) -> b -> Color RGB a -> b #

foldl' :: (b -> a -> b) -> b -> Color RGB a -> b #

foldr1 :: (a -> a -> a) -> Color RGB a -> a #

foldl1 :: (a -> a -> a) -> Color RGB a -> a #

toList :: Color RGB a -> [a] #

null :: Color RGB a -> Bool #

length :: Color RGB a -> Int #

elem :: Eq a => a -> Color RGB a -> Bool #

maximum :: Ord a => Color RGB a -> a #

minimum :: Ord a => Color RGB a -> a #

sum :: Num a => Color RGB a -> a #

product :: Num a => Color RGB a -> a #

Foldable (Color HSV) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

fold :: Monoid m => Color HSV m -> m #

foldMap :: Monoid m => (a -> m) -> Color HSV a -> m #

foldMap' :: Monoid m => (a -> m) -> Color HSV a -> m #

foldr :: (a -> b -> b) -> b -> Color HSV a -> b #

foldr' :: (a -> b -> b) -> b -> Color HSV a -> b #

foldl :: (b -> a -> b) -> b -> Color HSV a -> b #

foldl' :: (b -> a -> b) -> b -> Color HSV a -> b #

foldr1 :: (a -> a -> a) -> Color HSV a -> a #

foldl1 :: (a -> a -> a) -> Color HSV a -> a #

toList :: Color HSV a -> [a] #

null :: Color HSV a -> Bool #

length :: Color HSV a -> Int #

elem :: Eq a => a -> Color HSV a -> Bool #

maximum :: Ord a => Color HSV a -> a #

minimum :: Ord a => Color HSV a -> a #

sum :: Num a => Color HSV a -> a #

product :: Num a => Color HSV a -> a #

Foldable (Color HSL) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

fold :: Monoid m => Color HSL m -> m #

foldMap :: Monoid m => (a -> m) -> Color HSL a -> m #

foldMap' :: Monoid m => (a -> m) -> Color HSL a -> m #

foldr :: (a -> b -> b) -> b -> Color HSL a -> b #

foldr' :: (a -> b -> b) -> b -> Color HSL a -> b #

foldl :: (b -> a -> b) -> b -> Color HSL a -> b #

foldl' :: (b -> a -> b) -> b -> Color HSL a -> b #

foldr1 :: (a -> a -> a) -> Color HSL a -> a #

foldl1 :: (a -> a -> a) -> Color HSL a -> a #

toList :: Color HSL a -> [a] #

null :: Color HSL a -> Bool #

length :: Color HSL a -> Int #

elem :: Eq a => a -> Color HSL a -> Bool #

maximum :: Ord a => Color HSL a -> a #

minimum :: Ord a => Color HSL a -> a #

sum :: Num a => Color HSL a -> a #

product :: Num a => Color HSL a -> a #

Foldable (Color HSI) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

fold :: Monoid m => Color HSI m -> m #

foldMap :: Monoid m => (a -> m) -> Color HSI a -> m #

foldMap' :: Monoid m => (a -> m) -> Color HSI a -> m #

foldr :: (a -> b -> b) -> b -> Color HSI a -> b #

foldr' :: (a -> b -> b) -> b -> Color HSI a -> b #

foldl :: (b -> a -> b) -> b -> Color HSI a -> b #

foldl' :: (b -> a -> b) -> b -> Color HSI a -> b #

foldr1 :: (a -> a -> a) -> Color HSI a -> a #

foldl1 :: (a -> a -> a) -> Color HSI a -> a #

toList :: Color HSI a -> [a] #

null :: Color HSI a -> Bool #

length :: Color HSI a -> Int #

elem :: Eq a => a -> Color HSI a -> Bool #

maximum :: Ord a => Color HSI a -> a #

minimum :: Ord a => Color HSI a -> a #

sum :: Num a => Color HSI a -> a #

product :: Num a => Color HSI a -> a #

Foldable (Color CMYK) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

fold :: Monoid m => Color CMYK m -> m #

foldMap :: Monoid m => (a -> m) -> Color CMYK a -> m #

foldMap' :: Monoid m => (a -> m) -> Color CMYK a -> m #

foldr :: (a -> b -> b) -> b -> Color CMYK a -> b #

foldr' :: (a -> b -> b) -> b -> Color CMYK a -> b #

foldl :: (b -> a -> b) -> b -> Color CMYK a -> b #

foldl' :: (b -> a -> b) -> b -> Color CMYK a -> b #

foldr1 :: (a -> a -> a) -> Color CMYK a -> a #

foldl1 :: (a -> a -> a) -> Color CMYK a -> a #

toList :: Color CMYK a -> [a] #

null :: Color CMYK a -> Bool #

length :: Color CMYK a -> Int #

elem :: Eq a => a -> Color CMYK a -> Bool #

maximum :: Ord a => Color CMYK a -> a #

minimum :: Ord a => Color CMYK a -> a #

sum :: Num a => Color CMYK a -> a #

product :: Num a => Color CMYK a -> a #

Foldable (Color X) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

fold :: Monoid m => Color X m -> m #

foldMap :: Monoid m => (a -> m) -> Color X a -> m #

foldMap' :: Monoid m => (a -> m) -> Color X a -> m #

foldr :: (a -> b -> b) -> b -> Color X a -> b #

foldr' :: (a -> b -> b) -> b -> Color X a -> b #

foldl :: (b -> a -> b) -> b -> Color X a -> b #

foldl' :: (b -> a -> b) -> b -> Color X a -> b #

foldr1 :: (a -> a -> a) -> Color X a -> a #

foldl1 :: (a -> a -> a) -> Color X a -> a #

toList :: Color X a -> [a] #

null :: Color X a -> Bool #

length :: Color X a -> Int #

elem :: Eq a => a -> Color X a -> Bool #

maximum :: Ord a => Color X a -> a #

minimum :: Ord a => Color X a -> a #

sum :: Num a => Color X a -> a #

product :: Num a => Color X a -> a #

Foldable (Color YCbCr) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

fold :: Monoid m => Color YCbCr m -> m #

foldMap :: Monoid m => (a -> m) -> Color YCbCr a -> m #

foldMap' :: Monoid m => (a -> m) -> Color YCbCr a -> m #

foldr :: (a -> b -> b) -> b -> Color YCbCr a -> b #

foldr' :: (a -> b -> b) -> b -> Color YCbCr a -> b #

foldl :: (b -> a -> b) -> b -> Color YCbCr a -> b #

foldl' :: (b -> a -> b) -> b -> Color YCbCr a -> b #

foldr1 :: (a -> a -> a) -> Color YCbCr a -> a #

foldl1 :: (a -> a -> a) -> Color YCbCr a -> a #

toList :: Color YCbCr a -> [a] #

null :: Color YCbCr a -> Bool #

length :: Color YCbCr a -> Int #

elem :: Eq a => a -> Color YCbCr a -> Bool #

maximum :: Ord a => Color YCbCr a -> a #

minimum :: Ord a => Color YCbCr a -> a #

sum :: Num a => Color YCbCr a -> a #

product :: Num a => Color YCbCr a -> a #

Foldable (Color (Y i)) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (Y i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (Y i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (Y i) a -> a #

foldl1 :: (a -> a -> a) -> Color (Y i) a -> a #

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

null :: Color (Y i) a -> Bool #

length :: Color (Y i) a -> Int #

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

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

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

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

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

Foldable (Color (CIExyY i)) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (CIExyY i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (CIExyY i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (CIExyY i) a -> a #

foldl1 :: (a -> a -> a) -> Color (CIExyY i) a -> a #

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

null :: Color (CIExyY i) a -> Bool #

length :: Color (CIExyY i) a -> Int #

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

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

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

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

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

Foldable (Color (XYZ i)) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (XYZ i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (XYZ i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (XYZ i) a -> a #

foldl1 :: (a -> a -> a) -> Color (XYZ i) a -> a #

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

null :: Color (XYZ i) a -> Bool #

length :: Color (XYZ i) a -> Int #

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

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

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

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

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

Foldable (Color (LUV i)) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (LUV i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (LUV i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (LUV i) a -> a #

foldl1 :: (a -> a -> a) -> Color (LUV i) a -> a #

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

null :: Color (LUV i) a -> Bool #

length :: Color (LUV i) a -> Int #

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

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

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

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

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

Foldable (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (LCHuv i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (LCHuv i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (LCHuv i) a -> a #

foldl1 :: (a -> a -> a) -> Color (LCHuv i) a -> a #

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

null :: Color (LCHuv i) a -> Bool #

length :: Color (LCHuv i) a -> Int #

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

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

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

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

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

Foldable (Color (LAB i)) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (LAB i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (LAB i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (LAB i) a -> a #

foldl1 :: (a -> a -> a) -> Color (LAB i) a -> a #

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

null :: Color (LAB i) a -> Bool #

length :: Color (LAB i) a -> Int #

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

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

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

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

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

Foldable (Color (LCHab i)) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (LCHab i) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (LCHab i) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (LCHab i) a -> a #

foldl1 :: (a -> a -> a) -> Color (LCHab i) a -> a #

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

null :: Color (LCHab i) a -> Bool #

length :: Color (LCHab i) a -> Int #

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

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

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

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

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

Foldable (Color (BT470_625 l)) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (BT470_625 l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (BT470_625 l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (BT470_625 l) a -> a #

foldl1 :: (a -> a -> a) -> Color (BT470_625 l) a -> a #

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

null :: Color (BT470_625 l) a -> Bool #

length :: Color (BT470_625 l) a -> Int #

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

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

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

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

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

Foldable (Color (BT470_525 l)) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (BT470_525 l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (BT470_525 l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (BT470_525 l) a -> a #

foldl1 :: (a -> a -> a) -> Color (BT470_525 l) a -> a #

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

null :: Color (BT470_525 l) a -> Bool #

length :: Color (BT470_525 l) a -> Int #

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

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

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

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

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

Foldable (Color (HSV cs)) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

fold :: Monoid m => Color (HSV cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (HSV cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (HSV cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (HSV cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (HSV cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (HSV cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (HSV cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (HSV cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (HSV cs) a -> a #

toList :: Color (HSV cs) a -> [a] #

null :: Color (HSV cs) a -> Bool #

length :: Color (HSV cs) a -> Int #

elem :: Eq a => a -> Color (HSV cs) a -> Bool #

maximum :: Ord a => Color (HSV cs) a -> a #

minimum :: Ord a => Color (HSV cs) a -> a #

sum :: Num a => Color (HSV cs) a -> a #

product :: Num a => Color (HSV cs) a -> a #

Foldable (Color (HSL cs)) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

fold :: Monoid m => Color (HSL cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (HSL cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (HSL cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (HSL cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (HSL cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (HSL cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (HSL cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (HSL cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (HSL cs) a -> a #

toList :: Color (HSL cs) a -> [a] #

null :: Color (HSL cs) a -> Bool #

length :: Color (HSL cs) a -> Int #

elem :: Eq a => a -> Color (HSL cs) a -> Bool #

maximum :: Ord a => Color (HSL cs) a -> a #

minimum :: Ord a => Color (HSL cs) a -> a #

sum :: Num a => Color (HSL cs) a -> a #

product :: Num a => Color (HSL cs) a -> a #

Foldable (Color (HSI cs)) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

fold :: Monoid m => Color (HSI cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (HSI cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (HSI cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (HSI cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (HSI cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (HSI cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (HSI cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (HSI cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (HSI cs) a -> a #

toList :: Color (HSI cs) a -> [a] #

null :: Color (HSI cs) a -> Bool #

length :: Color (HSI cs) a -> Int #

elem :: Eq a => a -> Color (HSI cs) a -> Bool #

maximum :: Ord a => Color (HSI cs) a -> a #

minimum :: Ord a => Color (HSI cs) a -> a #

sum :: Num a => Color (HSI cs) a -> a #

product :: Num a => Color (HSI cs) a -> a #

Foldable (Color (CIERGB l)) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (CIERGB l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (CIERGB l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (CIERGB l) a -> a #

foldl1 :: (a -> a -> a) -> Color (CIERGB l) a -> a #

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

null :: Color (CIERGB l) a -> Bool #

length :: Color (CIERGB l) a -> Int #

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

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

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

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

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

Foldable (Color (CIERGB i l)) Source #

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Foldable (Color (Y' cs)) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

fold :: Monoid m => Color (Y' cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (Y' cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (Y' cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (Y' cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (Y' cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (Y' cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (Y' cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (Y' cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (Y' cs) a -> a #

toList :: Color (Y' cs) a -> [a] #

null :: Color (Y' cs) a -> Bool #

length :: Color (Y' cs) a -> Int #

elem :: Eq a => a -> Color (Y' cs) a -> Bool #

maximum :: Ord a => Color (Y' cs) a -> a #

minimum :: Ord a => Color (Y' cs) a -> a #

sum :: Num a => Color (Y' cs) a -> a #

product :: Num a => Color (Y' cs) a -> a #

Foldable (Color (BT601_625 l)) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (BT601_625 l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (BT601_625 l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (BT601_625 l) a -> a #

foldl1 :: (a -> a -> a) -> Color (BT601_625 l) a -> a #

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

null :: Color (BT601_625 l) a -> Bool #

length :: Color (BT601_625 l) a -> Int #

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

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

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

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

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

Foldable (Color (BT601_525 l)) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (BT601_525 l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (BT601_525 l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (BT601_525 l) a -> a #

foldl1 :: (a -> a -> a) -> Color (BT601_525 l) a -> a #

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

null :: Color (BT601_525 l) a -> Bool #

length :: Color (BT601_525 l) a -> Int #

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

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

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

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

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

Foldable (Color (BT709 l)) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (BT709 l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (BT709 l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (BT709 l) a -> a #

foldl1 :: (a -> a -> a) -> Color (BT709 l) a -> a #

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

null :: Color (BT709 l) a -> Bool #

length :: Color (BT709 l) a -> Int #

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

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

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

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

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

Foldable (Color (AdobeRGB l)) Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

product :: Num a => Color (AdobeRGB l) a -> 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 #

Foldable (Color (SRGB l)) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

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

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

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

foldr :: (a -> b -> b) -> b -> Color (SRGB l) a -> b #

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

foldl :: (b -> a -> b) -> b -> Color (SRGB l) a -> b #

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

foldr1 :: (a -> a -> a) -> Color (SRGB l) a -> a #

foldl1 :: (a -> a -> a) -> Color (SRGB l) a -> a #

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

null :: Color (SRGB l) a -> Bool #

length :: Color (SRGB l) a -> Int #

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

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

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

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

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

Foldable (Color (SRGB i l)) Source #

SRGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Foldable (Color (Y'CbCr cs)) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

fold :: Monoid m => Color (Y'CbCr cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (Y'CbCr cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (Y'CbCr cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (Y'CbCr cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (Y'CbCr cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (Y'CbCr cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (Y'CbCr cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (Y'CbCr cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (Y'CbCr cs) a -> a #

toList :: Color (Y'CbCr cs) a -> [a] #

null :: Color (Y'CbCr cs) a -> Bool #

length :: Color (Y'CbCr cs) a -> Int #

elem :: Eq a => a -> Color (Y'CbCr cs) a -> Bool #

maximum :: Ord a => Color (Y'CbCr cs) a -> a #

minimum :: Ord a => Color (Y'CbCr cs) a -> a #

sum :: Num a => Color (Y'CbCr cs) a -> a #

product :: Num a => Color (Y'CbCr cs) a -> a #

Foldable (Color (CMYK cs)) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

fold :: Monoid m => Color (CMYK cs) m -> m #

foldMap :: Monoid m => (a -> m) -> Color (CMYK cs) a -> m #

foldMap' :: Monoid m => (a -> m) -> Color (CMYK cs) a -> m #

foldr :: (a -> b -> b) -> b -> Color (CMYK cs) a -> b #

foldr' :: (a -> b -> b) -> b -> Color (CMYK cs) a -> b #

foldl :: (b -> a -> b) -> b -> Color (CMYK cs) a -> b #

foldl' :: (b -> a -> b) -> b -> Color (CMYK cs) a -> b #

foldr1 :: (a -> a -> a) -> Color (CMYK cs) a -> a #

foldl1 :: (a -> a -> a) -> Color (CMYK cs) a -> a #

toList :: Color (CMYK cs) a -> [a] #

null :: Color (CMYK cs) a -> Bool #

length :: Color (CMYK cs) a -> Int #

elem :: Eq a => a -> Color (CMYK cs) a -> Bool #

maximum :: Ord a => Color (CMYK cs) a -> a #

minimum :: Ord a => Color (CMYK cs) a -> a #

sum :: Num a => Color (CMYK cs) a -> a #

product :: Num a => Color (CMYK cs) a -> a #

Traversable (Color cs) => Traversable (Color (Alpha cs)) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

traverse :: Applicative f => (a -> f b) -> Color (Alpha cs) a -> f (Color (Alpha cs) b) #

sequenceA :: Applicative f => Color (Alpha cs) (f a) -> f (Color (Alpha cs) a) #

mapM :: Monad m => (a -> m b) -> Color (Alpha cs) a -> m (Color (Alpha cs) b) #

sequence :: Monad m => Color (Alpha cs) (m a) -> m (Color (Alpha cs) a) #

Traversable (Color LCH) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

traverse :: Applicative f => (a -> f b) -> Color LCH a -> f (Color LCH b) #

sequenceA :: Applicative f => Color LCH (f a) -> f (Color LCH a) #

mapM :: Monad m => (a -> m b) -> Color LCH a -> m (Color LCH b) #

sequence :: Monad m => Color LCH (m a) -> m (Color LCH a) #

Traversable (Color RGB) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

traverse :: Applicative f => (a -> f b) -> Color RGB a -> f (Color RGB b) #

sequenceA :: Applicative f => Color RGB (f a) -> f (Color RGB a) #

mapM :: Monad m => (a -> m b) -> Color RGB a -> m (Color RGB b) #

sequence :: Monad m => Color RGB (m a) -> m (Color RGB a) #

Traversable (Color HSV) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

traverse :: Applicative f => (a -> f b) -> Color HSV a -> f (Color HSV b) #

sequenceA :: Applicative f => Color HSV (f a) -> f (Color HSV a) #

mapM :: Monad m => (a -> m b) -> Color HSV a -> m (Color HSV b) #

sequence :: Monad m => Color HSV (m a) -> m (Color HSV a) #

Traversable (Color HSL) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

traverse :: Applicative f => (a -> f b) -> Color HSL a -> f (Color HSL b) #

sequenceA :: Applicative f => Color HSL (f a) -> f (Color HSL a) #

mapM :: Monad m => (a -> m b) -> Color HSL a -> m (Color HSL b) #

sequence :: Monad m => Color HSL (m a) -> m (Color HSL a) #

Traversable (Color HSI) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

traverse :: Applicative f => (a -> f b) -> Color HSI a -> f (Color HSI b) #

sequenceA :: Applicative f => Color HSI (f a) -> f (Color HSI a) #

mapM :: Monad m => (a -> m b) -> Color HSI a -> m (Color HSI b) #

sequence :: Monad m => Color HSI (m a) -> m (Color HSI a) #

Traversable (Color CMYK) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

traverse :: Applicative f => (a -> f b) -> Color CMYK a -> f (Color CMYK b) #

sequenceA :: Applicative f => Color CMYK (f a) -> f (Color CMYK a) #

mapM :: Monad m => (a -> m b) -> Color CMYK a -> m (Color CMYK b) #

sequence :: Monad m => Color CMYK (m a) -> m (Color CMYK a) #

Traversable (Color X) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

traverse :: Applicative f => (a -> f b) -> Color X a -> f (Color X b) #

sequenceA :: Applicative f => Color X (f a) -> f (Color X a) #

mapM :: Monad m => (a -> m b) -> Color X a -> m (Color X b) #

sequence :: Monad m => Color X (m a) -> m (Color X a) #

Traversable (Color YCbCr) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

traverse :: Applicative f => (a -> f b) -> Color YCbCr a -> f (Color YCbCr b) #

sequenceA :: Applicative f => Color YCbCr (f a) -> f (Color YCbCr a) #

mapM :: Monad m => (a -> m b) -> Color YCbCr a -> m (Color YCbCr b) #

sequence :: Monad m => Color YCbCr (m a) -> m (Color YCbCr a) #

Traversable (Color (Y i)) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

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

Traversable (Color (CIExyY i)) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

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

Traversable (Color (XYZ i)) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

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

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

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

Traversable (Color (LUV i)) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

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

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

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

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

Traversable (Color (LCHuv i)) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

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

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

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

Traversable (Color (LAB i)) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

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

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

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

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

Traversable (Color (LCHab i)) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

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

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

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

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

Traversable (Color (BT470_625 l)) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

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

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

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

Traversable (Color (BT470_525 l)) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

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

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

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

Traversable (Color (HSV cs)) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

traverse :: Applicative f => (a -> f b) -> Color (HSV cs) a -> f (Color (HSV cs) b) #

sequenceA :: Applicative f => Color (HSV cs) (f a) -> f (Color (HSV cs) a) #

mapM :: Monad m => (a -> m b) -> Color (HSV cs) a -> m (Color (HSV cs) b) #

sequence :: Monad m => Color (HSV cs) (m a) -> m (Color (HSV cs) a) #

Traversable (Color (HSL cs)) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

traverse :: Applicative f => (a -> f b) -> Color (HSL cs) a -> f (Color (HSL cs) b) #

sequenceA :: Applicative f => Color (HSL cs) (f a) -> f (Color (HSL cs) a) #

mapM :: Monad m => (a -> m b) -> Color (HSL cs) a -> m (Color (HSL cs) b) #

sequence :: Monad m => Color (HSL cs) (m a) -> m (Color (HSL cs) a) #

Traversable (Color (HSI cs)) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

traverse :: Applicative f => (a -> f b) -> Color (HSI cs) a -> f (Color (HSI cs) b) #

sequenceA :: Applicative f => Color (HSI cs) (f a) -> f (Color (HSI cs) a) #

mapM :: Monad m => (a -> m b) -> Color (HSI cs) a -> m (Color (HSI cs) b) #

sequence :: Monad m => Color (HSI cs) (m a) -> m (Color (HSI cs) a) #

Traversable (Color (CIERGB l)) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

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

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

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

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

Traversable (Color (CIERGB i l)) Source #

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

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

Traversable (Color (Y' cs)) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

traverse :: Applicative f => (a -> f b) -> Color (Y' cs) a -> f (Color (Y' cs) b) #

sequenceA :: Applicative f => Color (Y' cs) (f a) -> f (Color (Y' cs) a) #

mapM :: Monad m => (a -> m b) -> Color (Y' cs) a -> m (Color (Y' cs) b) #

sequence :: Monad m => Color (Y' cs) (m a) -> m (Color (Y' cs) a) #

Traversable (Color (BT601_625 l)) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

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

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

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

Traversable (Color (BT601_525 l)) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

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

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

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

Traversable (Color (BT709 l)) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

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

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

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

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

Traversable (Color (AdobeRGB l)) Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

sequence :: Monad m => Color (AdobeRGB l) (m a) -> m (Color (AdobeRGB l) 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) #

Traversable (Color (SRGB l)) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

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

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

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

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

Traversable (Color (SRGB i l)) Source #

SRGB color space (derived)

Instance details

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

Methods

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

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

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

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

Traversable (Color (Y'CbCr cs)) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

traverse :: Applicative f => (a -> f b) -> Color (Y'CbCr cs) a -> f (Color (Y'CbCr cs) b) #

sequenceA :: Applicative f => Color (Y'CbCr cs) (f a) -> f (Color (Y'CbCr cs) a) #

mapM :: Monad m => (a -> m b) -> Color (Y'CbCr cs) a -> m (Color (Y'CbCr cs) b) #

sequence :: Monad m => Color (Y'CbCr cs) (m a) -> m (Color (Y'CbCr cs) a) #

Traversable (Color (CMYK cs)) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

traverse :: Applicative f => (a -> f b) -> Color (CMYK cs) a -> f (Color (CMYK cs) b) #

sequenceA :: Applicative f => Color (CMYK cs) (f a) -> f (Color (CMYK cs) a) #

mapM :: Monad m => (a -> m b) -> Color (CMYK cs) a -> m (Color (CMYK cs) b) #

sequence :: Monad m => Color (CMYK cs) (m a) -> m (Color (CMYK cs) a) #

ColorModel cs e => Bounded (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

minBound :: Color cs e #

maxBound :: Color cs e #

(Eq (Color cs e), Eq e) => Eq (Color (Alpha cs) e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

(==) :: Color (Alpha cs) e -> Color (Alpha cs) e -> Bool #

(/=) :: Color (Alpha cs) e -> Color (Alpha cs) e -> Bool #

Eq e => Eq (Color LCH e) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

(==) :: Color LCH e -> Color LCH e -> Bool #

(/=) :: Color LCH e -> Color LCH e -> Bool #

Eq e => Eq (Color RGB e) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

(==) :: Color RGB e -> Color RGB e -> Bool #

(/=) :: Color RGB e -> Color RGB e -> Bool #

Eq e => Eq (Color HSV e) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

(==) :: Color HSV e -> Color HSV e -> Bool #

(/=) :: Color HSV e -> Color HSV e -> Bool #

Eq e => Eq (Color HSL e) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

(==) :: Color HSL e -> Color HSL e -> Bool #

(/=) :: Color HSL e -> Color HSL e -> Bool #

Eq e => Eq (Color HSI e) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

(==) :: Color HSI e -> Color HSI e -> Bool #

(/=) :: Color HSI e -> Color HSI e -> Bool #

Eq e => Eq (Color CMYK e) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

(==) :: Color CMYK e -> Color CMYK e -> Bool #

(/=) :: Color CMYK e -> Color CMYK e -> Bool #

Eq e => Eq (Color X e) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

(==) :: Color X e -> Color X e -> Bool #

(/=) :: Color X e -> Color X e -> Bool #

Eq e => Eq (Color YCbCr e) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

(==) :: Color YCbCr e -> Color YCbCr e -> Bool #

(/=) :: Color YCbCr e -> Color YCbCr e -> Bool #

Eq e => Eq (Color (Y i) e) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

(==) :: Color (Y i) e -> Color (Y i) e -> Bool #

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

Eq e => Eq (Color (CIExyY i) e) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

(==) :: Color (CIExyY i) e -> Color (CIExyY i) e -> Bool #

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

Eq e => Eq (Color (XYZ i) e) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

(==) :: Color (XYZ i) e -> Color (XYZ i) e -> Bool #

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

Eq e => Eq (Color (LUV i) e) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

(==) :: Color (LUV i) e -> Color (LUV i) e -> Bool #

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

Eq e => Eq (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

(==) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

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

Eq e => Eq (Color (LAB i) e) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

(==) :: Color (LAB i) e -> Color (LAB i) e -> Bool #

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

Eq e => Eq (Color (LCHab i) e) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

(==) :: Color (LCHab i) e -> Color (LCHab i) e -> Bool #

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

Eq e => Eq (Color (BT470_625 l) e) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

(==) :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Bool #

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

Eq e => Eq (Color (BT470_525 l) e) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

(==) :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Bool #

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

Eq e => Eq (Color (HSV cs) e) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

(==) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

(/=) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

Eq e => Eq (Color (HSL cs) e) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

(==) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

(/=) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

Eq e => Eq (Color (HSI cs) e) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

(==) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

(/=) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

Eq e => Eq (Color (CIERGB l) e) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

(==) :: Color (CIERGB l) e -> Color (CIERGB l) e -> Bool #

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

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

CIERGB color space (derived)

Instance details

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

Methods

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

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

Eq e => Eq (Color (Y' cs) e) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

(==) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

(/=) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

Eq e => Eq (Color (BT601_625 l) e) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

(==) :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Bool #

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

Eq e => Eq (Color (BT601_525 l) e) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

(==) :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Bool #

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

Eq e => Eq (Color (BT709 l) e) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

(==) :: Color (BT709 l) e -> Color (BT709 l) e -> Bool #

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

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

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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 #

Eq e => Eq (Color (SRGB l) e) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

(==) :: Color (SRGB l) e -> Color (SRGB l) e -> Bool #

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

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

SRGB color space (derived)

Instance details

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

Methods

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

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

Eq e => Eq (Color (Y'CbCr cs) e) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

(==) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

(/=) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

Eq e => Eq (Color (CMYK cs) e) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

(==) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

(/=) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

(ColorModel cs e, Floating e) => Floating (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

pi :: Color cs e #

exp :: Color cs e -> Color cs e #

log :: Color cs e -> Color cs e #

sqrt :: Color cs e -> Color cs e #

(**) :: Color cs e -> Color cs e -> Color cs e #

logBase :: Color cs e -> Color cs e -> Color cs e #

sin :: Color cs e -> Color cs e #

cos :: Color cs e -> Color cs e #

tan :: Color cs e -> Color cs e #

asin :: Color cs e -> Color cs e #

acos :: Color cs e -> Color cs e #

atan :: Color cs e -> Color cs e #

sinh :: Color cs e -> Color cs e #

cosh :: Color cs e -> Color cs e #

tanh :: Color cs e -> Color cs e #

asinh :: Color cs e -> Color cs e #

acosh :: Color cs e -> Color cs e #

atanh :: Color cs e -> Color cs e #

log1p :: Color cs e -> Color cs e #

expm1 :: Color cs e -> Color cs e #

log1pexp :: Color cs e -> Color cs e #

log1mexp :: Color cs e -> Color cs e #

(ColorModel cs e, Fractional e) => Fractional (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

(/) :: Color cs e -> Color cs e -> Color cs e #

recip :: Color cs e -> Color cs e #

fromRational :: Rational -> Color cs e #

ColorModel cs e => Num (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

(+) :: Color cs e -> Color cs e -> Color cs e #

(-) :: Color cs e -> Color cs e -> Color cs e #

(*) :: Color cs e -> Color cs e -> Color cs e #

negate :: Color cs e -> Color cs e #

abs :: Color cs e -> Color cs e #

signum :: Color cs e -> Color cs e #

fromInteger :: Integer -> Color cs e #

Ord e => Ord (Color LCH e) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

compare :: Color LCH e -> Color LCH e -> Ordering #

(<) :: Color LCH e -> Color LCH e -> Bool #

(<=) :: Color LCH e -> Color LCH e -> Bool #

(>) :: Color LCH e -> Color LCH e -> Bool #

(>=) :: Color LCH e -> Color LCH e -> Bool #

max :: Color LCH e -> Color LCH e -> Color LCH e #

min :: Color LCH e -> Color LCH e -> Color LCH e #

Ord e => Ord (Color RGB e) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

compare :: Color RGB e -> Color RGB e -> Ordering #

(<) :: Color RGB e -> Color RGB e -> Bool #

(<=) :: Color RGB e -> Color RGB e -> Bool #

(>) :: Color RGB e -> Color RGB e -> Bool #

(>=) :: Color RGB e -> Color RGB e -> Bool #

max :: Color RGB e -> Color RGB e -> Color RGB e #

min :: Color RGB e -> Color RGB e -> Color RGB e #

Ord e => Ord (Color HSV e) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

compare :: Color HSV e -> Color HSV e -> Ordering #

(<) :: Color HSV e -> Color HSV e -> Bool #

(<=) :: Color HSV e -> Color HSV e -> Bool #

(>) :: Color HSV e -> Color HSV e -> Bool #

(>=) :: Color HSV e -> Color HSV e -> Bool #

max :: Color HSV e -> Color HSV e -> Color HSV e #

min :: Color HSV e -> Color HSV e -> Color HSV e #

Ord e => Ord (Color HSL e) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

compare :: Color HSL e -> Color HSL e -> Ordering #

(<) :: Color HSL e -> Color HSL e -> Bool #

(<=) :: Color HSL e -> Color HSL e -> Bool #

(>) :: Color HSL e -> Color HSL e -> Bool #

(>=) :: Color HSL e -> Color HSL e -> Bool #

max :: Color HSL e -> Color HSL e -> Color HSL e #

min :: Color HSL e -> Color HSL e -> Color HSL e #

Ord e => Ord (Color HSI e) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

compare :: Color HSI e -> Color HSI e -> Ordering #

(<) :: Color HSI e -> Color HSI e -> Bool #

(<=) :: Color HSI e -> Color HSI e -> Bool #

(>) :: Color HSI e -> Color HSI e -> Bool #

(>=) :: Color HSI e -> Color HSI e -> Bool #

max :: Color HSI e -> Color HSI e -> Color HSI e #

min :: Color HSI e -> Color HSI e -> Color HSI e #

Ord e => Ord (Color CMYK e) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

compare :: Color CMYK e -> Color CMYK e -> Ordering #

(<) :: Color CMYK e -> Color CMYK e -> Bool #

(<=) :: Color CMYK e -> Color CMYK e -> Bool #

(>) :: Color CMYK e -> Color CMYK e -> Bool #

(>=) :: Color CMYK e -> Color CMYK e -> Bool #

max :: Color CMYK e -> Color CMYK e -> Color CMYK e #

min :: Color CMYK e -> Color CMYK e -> Color CMYK e #

Ord e => Ord (Color X e) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

compare :: Color X e -> Color X e -> Ordering #

(<) :: Color X e -> Color X e -> Bool #

(<=) :: Color X e -> Color X e -> Bool #

(>) :: Color X e -> Color X e -> Bool #

(>=) :: Color X e -> Color X e -> Bool #

max :: Color X e -> Color X e -> Color X e #

min :: Color X e -> Color X e -> Color X e #

Ord e => Ord (Color YCbCr e) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

compare :: Color YCbCr e -> Color YCbCr e -> Ordering #

(<) :: Color YCbCr e -> Color YCbCr e -> Bool #

(<=) :: Color YCbCr e -> Color YCbCr e -> Bool #

(>) :: Color YCbCr e -> Color YCbCr e -> Bool #

(>=) :: Color YCbCr e -> Color YCbCr e -> Bool #

max :: Color YCbCr e -> Color YCbCr e -> Color YCbCr e #

min :: Color YCbCr e -> Color YCbCr e -> Color YCbCr e #

Ord e => Ord (Color (Y i) e) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

compare :: Color (Y i) e -> Color (Y i) e -> Ordering #

(<) :: Color (Y i) e -> Color (Y i) e -> Bool #

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

(>) :: Color (Y i) e -> Color (Y i) e -> Bool #

(>=) :: Color (Y i) e -> Color (Y i) e -> Bool #

max :: Color (Y i) e -> Color (Y i) e -> Color (Y i) e #

min :: Color (Y i) e -> Color (Y i) e -> Color (Y i) e #

Ord e => Ord (Color (CIExyY i) e) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

compare :: Color (CIExyY i) e -> Color (CIExyY i) e -> Ordering #

(<) :: Color (CIExyY i) e -> Color (CIExyY i) e -> Bool #

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

(>) :: Color (CIExyY i) e -> Color (CIExyY i) e -> Bool #

(>=) :: Color (CIExyY i) e -> Color (CIExyY i) e -> Bool #

max :: Color (CIExyY i) e -> Color (CIExyY i) e -> Color (CIExyY i) e #

min :: Color (CIExyY i) e -> Color (CIExyY i) e -> Color (CIExyY i) e #

Ord e => Ord (Color (XYZ i) e) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

compare :: Color (XYZ i) e -> Color (XYZ i) e -> Ordering #

(<) :: Color (XYZ i) e -> Color (XYZ i) e -> Bool #

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

(>) :: Color (XYZ i) e -> Color (XYZ i) e -> Bool #

(>=) :: Color (XYZ i) e -> Color (XYZ i) e -> Bool #

max :: Color (XYZ i) e -> Color (XYZ i) e -> Color (XYZ i) e #

min :: Color (XYZ i) e -> Color (XYZ i) e -> Color (XYZ i) e #

Ord e => Ord (Color (LUV i) e) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

compare :: Color (LUV i) e -> Color (LUV i) e -> Ordering #

(<) :: Color (LUV i) e -> Color (LUV i) e -> Bool #

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

(>) :: Color (LUV i) e -> Color (LUV i) e -> Bool #

(>=) :: Color (LUV i) e -> Color (LUV i) e -> Bool #

max :: Color (LUV i) e -> Color (LUV i) e -> Color (LUV i) e #

min :: Color (LUV i) e -> Color (LUV i) e -> Color (LUV i) e #

Ord e => Ord (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

compare :: Color (LCHuv i) e -> Color (LCHuv i) e -> Ordering #

(<) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

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

(>) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

(>=) :: Color (LCHuv i) e -> Color (LCHuv i) e -> Bool #

max :: Color (LCHuv i) e -> Color (LCHuv i) e -> Color (LCHuv i) e #

min :: Color (LCHuv i) e -> Color (LCHuv i) e -> Color (LCHuv i) e #

Ord e => Ord (Color (LAB i) e) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

compare :: Color (LAB i) e -> Color (LAB i) e -> Ordering #

(<) :: Color (LAB i) e -> Color (LAB i) e -> Bool #

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

(>) :: Color (LAB i) e -> Color (LAB i) e -> Bool #

(>=) :: Color (LAB i) e -> Color (LAB i) e -> Bool #

max :: Color (LAB i) e -> Color (LAB i) e -> Color (LAB i) e #

min :: Color (LAB i) e -> Color (LAB i) e -> Color (LAB i) e #

Ord e => Ord (Color (LCHab i) e) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

compare :: Color (LCHab i) e -> Color (LCHab i) e -> Ordering #

(<) :: Color (LCHab i) e -> Color (LCHab i) e -> Bool #

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

(>) :: Color (LCHab i) e -> Color (LCHab i) e -> Bool #

(>=) :: Color (LCHab i) e -> Color (LCHab i) e -> Bool #

max :: Color (LCHab i) e -> Color (LCHab i) e -> Color (LCHab i) e #

min :: Color (LCHab i) e -> Color (LCHab i) e -> Color (LCHab i) e #

Ord e => Ord (Color (BT470_625 l) e) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

compare :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Ordering #

(<) :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Bool #

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

(>) :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Bool #

(>=) :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Bool #

max :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Color (BT470_625 l) e #

min :: Color (BT470_625 l) e -> Color (BT470_625 l) e -> Color (BT470_625 l) e #

Ord e => Ord (Color (BT470_525 l) e) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

compare :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Ordering #

(<) :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Bool #

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

(>) :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Bool #

(>=) :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Bool #

max :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Color (BT470_525 l) e #

min :: Color (BT470_525 l) e -> Color (BT470_525 l) e -> Color (BT470_525 l) e #

Ord e => Ord (Color (HSV cs) e) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

compare :: Color (HSV cs) e -> Color (HSV cs) e -> Ordering #

(<) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

(<=) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

(>) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

(>=) :: Color (HSV cs) e -> Color (HSV cs) e -> Bool #

max :: Color (HSV cs) e -> Color (HSV cs) e -> Color (HSV cs) e #

min :: Color (HSV cs) e -> Color (HSV cs) e -> Color (HSV cs) e #

Ord e => Ord (Color (HSL cs) e) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

compare :: Color (HSL cs) e -> Color (HSL cs) e -> Ordering #

(<) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

(<=) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

(>) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

(>=) :: Color (HSL cs) e -> Color (HSL cs) e -> Bool #

max :: Color (HSL cs) e -> Color (HSL cs) e -> Color (HSL cs) e #

min :: Color (HSL cs) e -> Color (HSL cs) e -> Color (HSL cs) e #

Ord e => Ord (Color (HSI cs) e) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

compare :: Color (HSI cs) e -> Color (HSI cs) e -> Ordering #

(<) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

(<=) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

(>) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

(>=) :: Color (HSI cs) e -> Color (HSI cs) e -> Bool #

max :: Color (HSI cs) e -> Color (HSI cs) e -> Color (HSI cs) e #

min :: Color (HSI cs) e -> Color (HSI cs) e -> Color (HSI cs) e #

Ord e => Ord (Color (CIERGB l) e) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

compare :: Color (CIERGB l) e -> Color (CIERGB l) e -> Ordering #

(<) :: Color (CIERGB l) e -> Color (CIERGB l) e -> Bool #

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

(>) :: Color (CIERGB l) e -> Color (CIERGB l) e -> Bool #

(>=) :: Color (CIERGB l) e -> Color (CIERGB l) e -> Bool #

max :: Color (CIERGB l) e -> Color (CIERGB l) e -> Color (CIERGB l) e #

min :: Color (CIERGB l) e -> Color (CIERGB l) e -> Color (CIERGB l) e #

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

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

Ord e => Ord (Color (Y' cs) e) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

compare :: Color (Y' cs) e -> Color (Y' cs) e -> Ordering #

(<) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

(<=) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

(>) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

(>=) :: Color (Y' cs) e -> Color (Y' cs) e -> Bool #

max :: Color (Y' cs) e -> Color (Y' cs) e -> Color (Y' cs) e #

min :: Color (Y' cs) e -> Color (Y' cs) e -> Color (Y' cs) e #

Ord e => Ord (Color (BT601_625 l) e) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

compare :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Ordering #

(<) :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Bool #

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

(>) :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Bool #

(>=) :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Bool #

max :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Color (BT601_625 l) e #

min :: Color (BT601_625 l) e -> Color (BT601_625 l) e -> Color (BT601_625 l) e #

Ord e => Ord (Color (BT601_525 l) e) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

compare :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Ordering #

(<) :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Bool #

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

(>) :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Bool #

(>=) :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Bool #

max :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Color (BT601_525 l) e #

min :: Color (BT601_525 l) e -> Color (BT601_525 l) e -> Color (BT601_525 l) e #

Ord e => Ord (Color (BT709 l) e) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

compare :: Color (BT709 l) e -> Color (BT709 l) e -> Ordering #

(<) :: Color (BT709 l) e -> Color (BT709 l) e -> Bool #

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

(>) :: Color (BT709 l) e -> Color (BT709 l) e -> Bool #

(>=) :: Color (BT709 l) e -> Color (BT709 l) e -> Bool #

max :: Color (BT709 l) e -> Color (BT709 l) e -> Color (BT709 l) e #

min :: Color (BT709 l) e -> Color (BT709 l) e -> Color (BT709 l) e #

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

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

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

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

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

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

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 #

Ord e => Ord (Color (SRGB l) e) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

compare :: Color (SRGB l) e -> Color (SRGB l) e -> Ordering #

(<) :: Color (SRGB l) e -> Color (SRGB l) e -> Bool #

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

(>) :: Color (SRGB l) e -> Color (SRGB l) e -> Bool #

(>=) :: Color (SRGB l) e -> Color (SRGB l) e -> Bool #

max :: Color (SRGB l) e -> Color (SRGB l) e -> Color (SRGB l) e #

min :: Color (SRGB l) e -> Color (SRGB l) e -> Color (SRGB l) e #

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

SRGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

Ord e => Ord (Color (Y'CbCr cs) e) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

compare :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Ordering #

(<) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

(<=) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

(>) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

(>=) :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Bool #

max :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e #

min :: Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e -> Color (Y'CbCr cs) e #

Ord e => Ord (Color (CMYK cs) e) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

compare :: Color (CMYK cs) e -> Color (CMYK cs) e -> Ordering #

(<) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

(<=) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

(>) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

(>=) :: Color (CMYK cs) e -> Color (CMYK cs) e -> Bool #

max :: Color (CMYK cs) e -> Color (CMYK cs) e -> Color (CMYK cs) e #

min :: Color (CMYK cs) e -> Color (CMYK cs) e -> Color (CMYK cs) e #

(ColorModel cs e, cs ~ Opaque (Alpha cs)) => Show (Color (Alpha cs) e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

showsPrec :: Int -> Color (Alpha cs) e -> ShowS #

show :: Color (Alpha cs) e -> String #

showList :: [Color (Alpha cs) e] -> ShowS #

Elevator e => Show (Color LCH e) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

showsPrec :: Int -> Color LCH e -> ShowS #

show :: Color LCH e -> String #

showList :: [Color LCH e] -> ShowS #

Elevator e => Show (Color RGB e) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

showsPrec :: Int -> Color RGB e -> ShowS #

show :: Color RGB e -> String #

showList :: [Color RGB e] -> ShowS #

Elevator e => Show (Color HSV e) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

showsPrec :: Int -> Color HSV e -> ShowS #

show :: Color HSV e -> String #

showList :: [Color HSV e] -> ShowS #

Elevator e => Show (Color HSL e) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

showsPrec :: Int -> Color HSL e -> ShowS #

show :: Color HSL e -> String #

showList :: [Color HSL e] -> ShowS #

Elevator e => Show (Color HSI e) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

showsPrec :: Int -> Color HSI e -> ShowS #

show :: Color HSI e -> String #

showList :: [Color HSI e] -> ShowS #

Elevator e => Show (Color CMYK e) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

showsPrec :: Int -> Color CMYK e -> ShowS #

show :: Color CMYK e -> String #

showList :: [Color CMYK e] -> ShowS #

Elevator e => Show (Color X e) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

showsPrec :: Int -> Color X e -> ShowS #

show :: Color X e -> String #

showList :: [Color X e] -> ShowS #

Elevator e => Show (Color YCbCr e) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

showsPrec :: Int -> Color YCbCr e -> ShowS #

show :: Color YCbCr e -> String #

showList :: [Color YCbCr e] -> ShowS #

(Illuminant i, Elevator e) => Show (Color (Y i) e) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

show :: Color (Y i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (CIExyY i) e) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

show :: Color (CIExyY i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (XYZ i) e) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

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

show :: Color (XYZ i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (LUV i) e) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

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

show :: Color (LUV i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

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

show :: Color (LCHuv i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (LAB i) e) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

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

show :: Color (LAB i) e -> String #

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

(Illuminant i, Elevator e) => Show (Color (LCHab i) e) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

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

show :: Color (LCHab i) e -> String #

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

(Typeable l, Elevator e) => Show (Color (BT470_625 l) e) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

show :: Color (BT470_625 l) e -> String #

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

(Typeable l, Elevator e) => Show (Color (BT470_525 l) e) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

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

show :: Color (BT470_525 l) e -> String #

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

ColorModel cs e => Show (Color (HSV cs) e) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

showsPrec :: Int -> Color (HSV cs) e -> ShowS #

show :: Color (HSV cs) e -> String #

showList :: [Color (HSV cs) e] -> ShowS #

ColorModel cs e => Show (Color (HSL cs) e) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

showsPrec :: Int -> Color (HSL cs) e -> ShowS #

show :: Color (HSL cs) e -> String #

showList :: [Color (HSL cs) e] -> ShowS #

ColorModel cs e => Show (Color (HSI cs) e) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

showsPrec :: Int -> Color (HSI cs) e -> ShowS #

show :: Color (HSI cs) e -> String #

showList :: [Color (HSI cs) e] -> ShowS #

(Typeable l, Elevator e) => Show (Color (CIERGB l) e) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

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

show :: Color (CIERGB l) e -> String #

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

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

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

(Typeable cs, Elevator e) => Show (Color (Y' cs) e) Source #

Y` - as a color model

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

showsPrec :: Int -> Color (Y' cs) e -> ShowS #

show :: Color (Y' cs) e -> String #

showList :: [Color (Y' cs) e] -> ShowS #

(Typeable l, Elevator e) => Show (Color (BT601_625 l) e) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

show :: Color (BT601_625 l) e -> String #

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

(Typeable l, Elevator e) => Show (Color (BT601_525 l) e) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

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

show :: Color (BT601_525 l) e -> String #

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

(Typeable l, Elevator e) => Show (Color (BT709 l) e) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

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

show :: Color (BT709 l) e -> String #

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

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

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

(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 #

(Typeable l, Elevator e) => Show (Color (SRGB l) e) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

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

show :: Color (SRGB l) e -> String #

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

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

SRGB color space (derived)

Instance details

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

Methods

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

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

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

(Typeable cs, ColorModel (cs 'NonLinear) e, Elevator e) => Show (Color (Y'CbCr cs) e) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

showsPrec :: Int -> Color (Y'CbCr cs) e -> ShowS #

show :: Color (Y'CbCr cs) e -> String #

showList :: [Color (Y'CbCr cs) e] -> ShowS #

ColorModel cs e => Show (Color (CMYK cs) e) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

showsPrec :: Int -> Color (CMYK cs) e -> ShowS #

show :: Color (CMYK cs) e -> String #

showList :: [Color (CMYK cs) e] -> ShowS #

(Storable (Color cs e), Storable e) => Storable (Color (Alpha cs) e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

sizeOf :: Color (Alpha cs) e -> Int #

alignment :: Color (Alpha cs) e -> Int #

peekElemOff :: Ptr (Color (Alpha cs) e) -> Int -> IO (Color (Alpha cs) e) #

pokeElemOff :: Ptr (Color (Alpha cs) e) -> Int -> Color (Alpha cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (Alpha cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (Alpha cs) e -> IO () #

peek :: Ptr (Color (Alpha cs) e) -> IO (Color (Alpha cs) e) #

poke :: Ptr (Color (Alpha cs) e) -> Color (Alpha cs) e -> IO () #

Storable e => Storable (Color LCH e) Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

Methods

sizeOf :: Color LCH e -> Int #

alignment :: Color LCH e -> Int #

peekElemOff :: Ptr (Color LCH e) -> Int -> IO (Color LCH e) #

pokeElemOff :: Ptr (Color LCH e) -> Int -> Color LCH e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color LCH e) #

pokeByteOff :: Ptr b -> Int -> Color LCH e -> IO () #

peek :: Ptr (Color LCH e) -> IO (Color LCH e) #

poke :: Ptr (Color LCH e) -> Color LCH e -> IO () #

Storable e => Storable (Color RGB e) Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

Methods

sizeOf :: Color RGB e -> Int #

alignment :: Color RGB e -> Int #

peekElemOff :: Ptr (Color RGB e) -> Int -> IO (Color RGB e) #

pokeElemOff :: Ptr (Color RGB e) -> Int -> Color RGB e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color RGB e) #

pokeByteOff :: Ptr b -> Int -> Color RGB e -> IO () #

peek :: Ptr (Color RGB e) -> IO (Color RGB e) #

poke :: Ptr (Color RGB e) -> Color RGB e -> IO () #

Storable e => Storable (Color HSV e) Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

Methods

sizeOf :: Color HSV e -> Int #

alignment :: Color HSV e -> Int #

peekElemOff :: Ptr (Color HSV e) -> Int -> IO (Color HSV e) #

pokeElemOff :: Ptr (Color HSV e) -> Int -> Color HSV e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color HSV e) #

pokeByteOff :: Ptr b -> Int -> Color HSV e -> IO () #

peek :: Ptr (Color HSV e) -> IO (Color HSV e) #

poke :: Ptr (Color HSV e) -> Color HSV e -> IO () #

Storable e => Storable (Color HSL e) Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

Methods

sizeOf :: Color HSL e -> Int #

alignment :: Color HSL e -> Int #

peekElemOff :: Ptr (Color HSL e) -> Int -> IO (Color HSL e) #

pokeElemOff :: Ptr (Color HSL e) -> Int -> Color HSL e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color HSL e) #

pokeByteOff :: Ptr b -> Int -> Color HSL e -> IO () #

peek :: Ptr (Color HSL e) -> IO (Color HSL e) #

poke :: Ptr (Color HSL e) -> Color HSL e -> IO () #

Storable e => Storable (Color HSI e) Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

Methods

sizeOf :: Color HSI e -> Int #

alignment :: Color HSI e -> Int #

peekElemOff :: Ptr (Color HSI e) -> Int -> IO (Color HSI e) #

pokeElemOff :: Ptr (Color HSI e) -> Int -> Color HSI e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color HSI e) #

pokeByteOff :: Ptr b -> Int -> Color HSI e -> IO () #

peek :: Ptr (Color HSI e) -> IO (Color HSI e) #

poke :: Ptr (Color HSI e) -> Color HSI e -> IO () #

Storable e => Storable (Color CMYK e) Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

Methods

sizeOf :: Color CMYK e -> Int #

alignment :: Color CMYK e -> Int #

peekElemOff :: Ptr (Color CMYK e) -> Int -> IO (Color CMYK e) #

pokeElemOff :: Ptr (Color CMYK e) -> Int -> Color CMYK e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color CMYK e) #

pokeByteOff :: Ptr b -> Int -> Color CMYK e -> IO () #

peek :: Ptr (Color CMYK e) -> IO (Color CMYK e) #

poke :: Ptr (Color CMYK e) -> Color CMYK e -> IO () #

Storable e => Storable (Color X e) Source #

X color model

Instance details

Defined in Graphics.Color.Model.X

Methods

sizeOf :: Color X e -> Int #

alignment :: Color X e -> Int #

peekElemOff :: Ptr (Color X e) -> Int -> IO (Color X e) #

pokeElemOff :: Ptr (Color X e) -> Int -> Color X e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color X e) #

pokeByteOff :: Ptr b -> Int -> Color X e -> IO () #

peek :: Ptr (Color X e) -> IO (Color X e) #

poke :: Ptr (Color X e) -> Color X e -> IO () #

Storable e => Storable (Color YCbCr e) Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

Methods

sizeOf :: Color YCbCr e -> Int #

alignment :: Color YCbCr e -> Int #

peekElemOff :: Ptr (Color YCbCr e) -> Int -> IO (Color YCbCr e) #

pokeElemOff :: Ptr (Color YCbCr e) -> Int -> Color YCbCr e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color YCbCr e) #

pokeByteOff :: Ptr b -> Int -> Color YCbCr e -> IO () #

peek :: Ptr (Color YCbCr e) -> IO (Color YCbCr e) #

poke :: Ptr (Color YCbCr e) -> Color YCbCr e -> IO () #

Storable e => Storable (Color (Y i) e) Source #

Y - relative luminance of a color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

sizeOf :: Color (Y i) e -> Int #

alignment :: Color (Y i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (CIExyY i) e) Source #

CIE xyY color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

sizeOf :: Color (CIExyY i) e -> Int #

alignment :: Color (CIExyY i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (XYZ i) e) Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

Methods

sizeOf :: Color (XYZ i) e -> Int #

alignment :: Color (XYZ i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (LUV i) e) Source #

CIE1976 LUV color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

Methods

sizeOf :: Color (LUV i) e -> Int #

alignment :: Color (LUV i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (LCHuv i) e) Source #

CIE1976 LCHuv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

Methods

sizeOf :: Color (LCHuv i) e -> Int #

alignment :: Color (LCHuv i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (LAB i) e) Source #

CIE1976 LAB color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

Methods

sizeOf :: Color (LAB i) e -> Int #

alignment :: Color (LAB i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (LCHab i) e) Source #

CIE1976 LCHab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

Methods

sizeOf :: Color (LCHab i) e -> Int #

alignment :: Color (LCHab i) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (BT470_625 l) e) Source #

ITU-R BT.470 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

sizeOf :: Color (BT470_625 l) e -> Int #

alignment :: Color (BT470_625 l) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (BT470_525 l) e) Source #

ITU-R BT.470 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

Methods

sizeOf :: Color (BT470_525 l) e -> Int #

alignment :: Color (BT470_525 l) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (HSV cs) e) Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

Methods

sizeOf :: Color (HSV cs) e -> Int #

alignment :: Color (HSV cs) e -> Int #

peekElemOff :: Ptr (Color (HSV cs) e) -> Int -> IO (Color (HSV cs) e) #

pokeElemOff :: Ptr (Color (HSV cs) e) -> Int -> Color (HSV cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (HSV cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (HSV cs) e -> IO () #

peek :: Ptr (Color (HSV cs) e) -> IO (Color (HSV cs) e) #

poke :: Ptr (Color (HSV cs) e) -> Color (HSV cs) e -> IO () #

Storable e => Storable (Color (HSL cs) e) Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

Methods

sizeOf :: Color (HSL cs) e -> Int #

alignment :: Color (HSL cs) e -> Int #

peekElemOff :: Ptr (Color (HSL cs) e) -> Int -> IO (Color (HSL cs) e) #

pokeElemOff :: Ptr (Color (HSL cs) e) -> Int -> Color (HSL cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (HSL cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (HSL cs) e -> IO () #

peek :: Ptr (Color (HSL cs) e) -> IO (Color (HSL cs) e) #

poke :: Ptr (Color (HSL cs) e) -> Color (HSL cs) e -> IO () #

Storable e => Storable (Color (HSI cs) e) Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

Methods

sizeOf :: Color (HSI cs) e -> Int #

alignment :: Color (HSI cs) e -> Int #

peekElemOff :: Ptr (Color (HSI cs) e) -> Int -> IO (Color (HSI cs) e) #

pokeElemOff :: Ptr (Color (HSI cs) e) -> Int -> Color (HSI cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (HSI cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (HSI cs) e -> IO () #

peek :: Ptr (Color (HSI cs) e) -> IO (Color (HSI cs) e) #

poke :: Ptr (Color (HSI cs) e) -> Color (HSI cs) e -> IO () #

Storable e => Storable (Color (CIERGB l) e) Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

sizeOf :: Color (CIERGB l) e -> Int #

alignment :: Color (CIERGB l) e -> Int #

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

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

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

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

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

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

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

CIERGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

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

Storable e => Storable (Color (Y' cs) e) Source #

Y` - luma of a color space

Instance details

Defined in Graphics.Color.Space.RGB.Luma

Methods

sizeOf :: Color (Y' cs) e -> Int #

alignment :: Color (Y' cs) e -> Int #

peekElemOff :: Ptr (Color (Y' cs) e) -> Int -> IO (Color (Y' cs) e) #

pokeElemOff :: Ptr (Color (Y' cs) e) -> Int -> Color (Y' cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (Y' cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (Y' cs) e -> IO () #

peek :: Ptr (Color (Y' cs) e) -> IO (Color (Y' cs) e) #

poke :: Ptr (Color (Y' cs) e) -> Color (Y' cs) e -> IO () #

Storable e => Storable (Color (BT601_625 l) e) Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

sizeOf :: Color (BT601_625 l) e -> Int #

alignment :: Color (BT601_625 l) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (BT601_525 l) e) Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Methods

sizeOf :: Color (BT601_525 l) e -> Int #

alignment :: Color (BT601_525 l) e -> Int #

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

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

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

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

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

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

Storable e => Storable (Color (BT709 l) e) Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

sizeOf :: Color (BT709 l) e -> Int #

alignment :: Color (BT709 l) e -> Int #

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

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

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

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

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

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

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

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Methods

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

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

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

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

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

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

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

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

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 () #

Storable e => Storable (Color (SRGB l) e) Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

sizeOf :: Color (SRGB l) e -> Int #

alignment :: Color (SRGB l) e -> Int #

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

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

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

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

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

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

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

SRGB color space (derived)

Instance details

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

Methods

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

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

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

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

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

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

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

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

Storable e => Storable (Color (Y'CbCr cs) e) Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Methods

sizeOf :: Color (Y'CbCr cs) e -> Int #

alignment :: Color (Y'CbCr cs) e -> Int #

peekElemOff :: Ptr (Color (Y'CbCr cs) e) -> Int -> IO (Color (Y'CbCr cs) e) #

pokeElemOff :: Ptr (Color (Y'CbCr cs) e) -> Int -> Color (Y'CbCr cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (Y'CbCr cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (Y'CbCr cs) e -> IO () #

peek :: Ptr (Color (Y'CbCr cs) e) -> IO (Color (Y'CbCr cs) e) #

poke :: Ptr (Color (Y'CbCr cs) e) -> Color (Y'CbCr cs) e -> IO () #

Storable e => Storable (Color (CMYK cs) e) Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Methods

sizeOf :: Color (CMYK cs) e -> Int #

alignment :: Color (CMYK cs) e -> Int #

peekElemOff :: Ptr (Color (CMYK cs) e) -> Int -> IO (Color (CMYK cs) e) #

pokeElemOff :: Ptr (Color (CMYK cs) e) -> Int -> Color (CMYK cs) e -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Color (CMYK cs) e) #

pokeByteOff :: Ptr b -> Int -> Color (CMYK cs) e -> IO () #

peek :: Ptr (Color (CMYK cs) e) -> IO (Color (CMYK cs) e) #

poke :: Ptr (Color (CMYK cs) e) -> Color (CMYK cs) e -> IO () #

ColorModel cs e => Default (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

def :: Color cs e #

(ColorModel cs e, NFData e) => NFData (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

Methods

rnf :: Color cs e -> () #

ColorModel cs e => Unbox (Color cs e) Source #

Unboxing of a Color.

Instance details

Defined in Graphics.Color.Model.Internal

newtype Color LCH e Source #

LCH color model

Instance details

Defined in Graphics.Color.Model.LCH

newtype Color LCH e = LCH (V3 e)
newtype Color RGB e Source #

RGB color model

Instance details

Defined in Graphics.Color.Model.RGB

newtype Color RGB e = RGB (V3 e)
newtype Color HSV e Source #

HSV color model

Instance details

Defined in Graphics.Color.Model.HSV

newtype Color HSV e = HSV (V3 e)
newtype Color HSL e Source #

HSL color model

Instance details

Defined in Graphics.Color.Model.HSL

newtype Color HSL e = HSL (V3 e)
newtype Color HSI e Source #

HSI color model

Instance details

Defined in Graphics.Color.Model.HSI

newtype Color HSI e = HSI (V3 e)
data Color CMYK e Source #

CMYK color model

Instance details

Defined in Graphics.Color.Model.CMYK

data Color CMYK e = ColorCMYK !e !e !e !e
newtype Color X e Source #

A single channel color X

Instance details

Defined in Graphics.Color.Model.X

newtype Color X e = X e
newtype Color YCbCr e Source #

YCbCr color model

Instance details

Defined in Graphics.Color.Model.YCbCr

newtype Color YCbCr e = YCbCr (V3 e)
newtype MVector s (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

newtype MVector s (Color cs e) = MV_Color (MVector s (Components cs e))
data Color (Alpha cs) e Source # 
Instance details

Defined in Graphics.Color.Model.Internal

data Color (Alpha cs) e = Alpha {}
newtype Color (BT470_625 l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

newtype Color (BT470_625 l) e = BT470_625 (Color RGB e)
newtype Color (BT470_525 l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec470

newtype Color (BT470_525 l) e = BT470_525 (Color RGB e)
newtype Color (CIERGB l) e Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

newtype Color (CIERGB l) e = CIERGB (Color RGB e)
newtype Color (Y' cs) e Source #

Constructor for Luma.

Instance details

Defined in Graphics.Color.Space.RGB.Luma

newtype Color (Y' cs) e = Luma (Color X e)
newtype Color (BT601_625 l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

newtype Color (BT601_625 l) e = BT601_625 (Color RGB e)
newtype Color (BT601_525 l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

newtype Color (BT601_525 l) e = BT601_525 (Color RGB e)
newtype Color (BT709 l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

newtype Color (BT709 l) e = BT709 (Color RGB e)
newtype Color (AdobeRGB l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

newtype Color (AdobeRGB l) e = AdobeRGB (Color RGB e)
newtype Color (SRGB l) e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.SRGB

newtype Color (SRGB l) e = SRGB (Color RGB e)
newtype Color (Y'CbCr cs) e Source #

Constructor for Y'CbCr color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

newtype Color (Y'CbCr cs) e = Y'CbCr (Color YCbCr e)
newtype Vector (Color cs e) Source # 
Instance details

Defined in Graphics.Color.Model.Internal

newtype Vector (Color cs e) = V_Color (Vector (Components cs e))
newtype Color (Y i) e Source #

Luminance Y

Instance details

Defined in Graphics.Color.Space.Internal

newtype Color (Y i) e = Luminance (Color X e)
newtype Color (CIExyY i) e Source #

CIE1931 CIExyY color space

Instance details

Defined in Graphics.Color.Space.Internal

newtype Color (CIExyY i) e = CIExyY (V2 e)
newtype Color (XYZ i) e Source #

CIE1931 XYZ color space

Instance details

Defined in Graphics.Color.Space.Internal

newtype Color (XYZ i) e = XYZ (V3 e)
newtype Color (LUV i) e Source #

Color in CIE L*u*v* color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV

newtype Color (LUV i) e = LUV (V3 e)
newtype Color (LCHuv i) e Source #

Color in CIE L*C*Huv color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LUV.LCH

newtype Color (LCHuv i) e = LCHuv (Color LCH e)
newtype Color (LAB i) e Source #

Color in CIE L*a*b* color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB

newtype Color (LAB i) e = LAB (V3 e)
newtype Color (LCHab i) e Source #

Color in CIE L*C*Hab color space

Instance details

Defined in Graphics.Color.Space.CIE1976.LAB.LCH

newtype Color (LCHab i) e = LCHab (Color LCH e)
newtype Color (HSV cs) e Source #

HSV representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSV

newtype Color (HSV cs) e = HSV (Color HSV e)
newtype Color (HSL cs) e Source #

HSL representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSL

newtype Color (HSL cs) e = HSL (Color HSL e)
newtype Color (HSI cs) e Source #

HSI representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.HSI

newtype Color (HSI cs) e = HSI (Color HSI e)
newtype Color (CMYK cs) e Source #

CMYK representation for some (RedGreenBlue cs i) color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

newtype Color (CMYK cs) e = CMYK (Color CMYK e)
newtype Color (CIERGB i l) e Source #

CIERGB color space (derived)

Instance details

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

newtype Color (CIERGB i l) e = CIERGB (Color RGB e)
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)
newtype Color (SRGB i l) e Source #

SRGB color space (derived)

Instance details

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

newtype Color (SRGB i l) e = SRGB (Color RGB e)