prizm-0.3.1.2: Compute with colors and differenct color spaces

Stabilitystable
MaintainerParnell Springmeyer <parnell@ixmat.us>
Safe HaskellSafe-Inferred

Data.Prizm.Types

Description

 

Synopsis

Documentation

newtype RGBtoXYZ Source

Working space matrix to convert from sRGB to CIE XYZ

Constructors

RGBtoXYZ [[Double]] 

Instances

Eq RGBtoXYZ 
Ord RGBtoXYZ 
Show RGBtoXYZ 

newtype XYZtoRGB Source

Working space matrix to convert from CIE XYZ to sRGB

Constructors

XYZtoRGB [[Double]] 

Instances

Eq XYZtoRGB 
Ord XYZtoRGB 
Show XYZtoRGB 

type Hex = StringSource

Hex format color code, eg '#AB9D92'

type Percent = IntegerSource

data RGB a Source

Constructors

RGB !a !a !a 

Instances

Functor RGB

Functor instances

Applicative RGB

Applicative instances

Eq a => Eq (RGB a) 
Ord a => Ord (RGB a) 
Show a => Show (RGB a) 

data CIEXYZ a Source

Constructors

CIEXYZ !a !a !a 

Instances

Functor CIEXYZ 
Applicative CIEXYZ 
Eq a => Eq (CIEXYZ a) 
Ord a => Ord (CIEXYZ a) 
Show a => Show (CIEXYZ a) 

data CIELAB a Source

Constructors

CIELAB !a !a !a 

Instances

Functor CIELAB 
Applicative CIELAB 
Eq a => Eq (CIELAB a) 
Ord a => Ord (CIELAB a) 
Show a => Show (CIELAB a) 

data CIELCH a Source

Constructors

CIELCH !a !a !a 

Instances

Functor CIELCH 
Applicative CIELCH 
Eq a => Eq (CIELCH a) 
Ord a => Ord (CIELCH a) 
Show a => Show (CIELCH a)