Color-0.1.3.1: Color spaces and conversions between them

Copyright(c) Alexey Kuleshevich 2019
LicenseBSD3
MaintainerAlexey Kuleshevich <lehins@yandex.ru>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Graphics.Color.Illuminant.ITU.Rec470

Description

 
Synopsis

Documentation

data C Source #

Whitepoint C that is used for ITU: Rec.470 (525). It is slightly different than C that is defined by CIE1931, thus a separate declaration in here.

>>> whitePoint :: WhitePoint C Float
WhitePoint (Chromaticity <CIExyY * C:( 0.310000, 0.316000)>)
>>> whitePointTristimulus :: Color (XYZ C) Float
<XYZ * C:( 0.981013, 1.000000, 1.183544)>
>>> colorTemperature :: CCT C
CCT {unCCT = 6774.0}

Since: 0.1.0

Instances
Illuminant C Source #

[x=0.310, y=0.316] - Rec. ITU-R BT.470-7

Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec470

Associated Types

type Temperature C :: n Source #

RedGreenBlue BT470_525 C Source #

ITU-R BT.470 (525) color space

Instance details

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

Elevator e => ColorSpace BT470_525 C e Source #

ITU-R BT.470 (525) color space

Instance details

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

Associated Types

type BaseModel BT470_525 :: Type Source #

type BaseSpace BT470_525 :: Type Source #

type Temperature C Source # 
Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec470

type Temperature C = 6774

data D65 Source #

Whitepoint D65 that is used for ITU: Rec.470 (625). It is slightly different than D65 that is defined by CIE1931 and D65 specified in Rec.601, thus a separate declaration in here.

>>> whitePoint :: WhitePoint D65 Float
WhitePoint (Chromaticity <CIExyY * D65:( 0.313000, 0.329000)>)
>>> whitePointTristimulus :: Color (XYZ D65) Float
<XYZ * D65:( 0.951368, 1.000000, 1.088146)>
>>> colorTemperature :: CCT D65
CCT {unCCT = 6504.0}

Since: 0.1.0

Instances
Illuminant D65 Source #

[x=0.313, y=0.329] - Rec. ITU-R BT.470-7

Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec470

Associated Types

type Temperature D65 :: n Source #

RedGreenBlue BT470_625 D65 Source #

ITU-R BT.470 (625) color space

Instance details

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

Elevator e => ColorSpace BT470_625 D65 e Source #

ITU-R BT.470 (625) color space

Instance details

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

Associated Types

type BaseModel BT470_625 :: Type Source #

type BaseSpace BT470_625 :: Type Source #

type Temperature D65 Source # 
Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec470

type Temperature D65 = 6504