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.ICC.PCS

Description

 
Synopsis

Documentation

data D50 Source #

This is an approximation of CIE1931 D50 white point defined in ICC PCS. Useful for chromatic adaptation.

>>> whitePoint :: WhitePoint D50 Double
WhitePoint (Chromaticity <CIExyY * D50:( 0.345702914919, 0.358538596680)>)
>>> whitePointTristimulus :: Color (XYZ D50) Float
<XYZ * D50:( 0.964200, 1.000000, 0.824900)>
>>> colorTemperature :: CCT D50
CCT {unCCT = 5003.0}

Since: 0.1.0

Instances
Illuminant D50 Source #

Tristimulus [X=0.9642, Y=1.0000, Z=0.8249] - IEC 61966-2-1:1999, ICC PCS

Instance details

Defined in Graphics.Color.Illuminant.ICC.PCS

Associated Types

type Temperature D50 :: n Source #

type Temperature D50 Source # 
Instance details

Defined in Graphics.Color.Illuminant.ICC.PCS

type Temperature D50 = 5003