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

Graphics.Color.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 {chromaticityCIExyY = <CIExyY * C:( 0.31000000, 0.31600000)>})
>>> whitePointTristimulus :: Color (XYZ C) Float
<XYZ * C:( 0.98101264, 1.00000000, 1.18354420)>
>>> colorTemperature :: CCT C
CCT {unCCT = 6774.0}

Since: 0.1.0

Instances

Instances details
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 'Linear) C e Source #

ITU-R BT.470 (525) color space

Instance details

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

Elevator e => ColorSpace (BT470_525 'NonLinear) C e Source #

ITU-R BT.470 (525) color space

Instance details

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

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 {chromaticityCIExyY = <CIExyY * D65:( 0.31300000, 0.32900000)>})
>>> whitePointTristimulus :: Color (XYZ D65) Float
<XYZ * D65:( 0.95136780, 1.00000000, 1.08814610)>
>>> colorTemperature :: CCT D65
CCT {unCCT = 6504.0}

Since: 0.1.0

Instances

Instances details
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 'Linear) D65 e Source #

ITU-R BT.470 (625) color space

Instance details

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

Elevator e => ColorSpace (BT470_625 'NonLinear) D65 e Source #

ITU-R BT.470 (625) color space

Instance details

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

type Temperature D65 Source # 
Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec470

type Temperature D65 = 6504