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.CIE1931

Description

 
Synopsis

Documentation

data CIE1931 Source #

Constructors

A

Incandescent / Tungsten

B

Direct sunlight at noon (obsolete)

C

Average / North sky Daylight (obsolete)

D50

Horizon Light.

D55

Mid-morning / Mid-afternoon Daylight

D60 
D65

Noon Daylight

D75

Overcast dayligh / North sky Daylight

E

Equal energy

FL1

Daylight Fluorescent

FL2

The fluorescent illuminant in most common use, represents cool white fluorescent (4100° Kelvin, CRI 60). Non-standard names include F, F02, Fcw, CWF, CWF2.

Note - Takes precedence over other F illuminants

FL3

White Fluorescent

FL4

Warm White Fluorescent

FL5

Daylight Fluorescent

FL6

Lite White Fluorescent

FL7

Represents a broadband fluorescent lamp, which approximates CIE illuminant D65 (6500° Kelvin, CRI 90).

Note - Takes precedence over other F illuminants

FL8

D50 simulator, Sylvania F40 Design 50 (F40DSGN50)

FL9

Cool White Deluxe Fluorescent

FL10

Philips TL85, Ultralume 50

FL11

Philips TL84, SP41, Ultralume 40

Represents a narrow tri-band fluorescent of 4000° Kelvin color temperature, CRI 83.

Note - Takes precedence over other F illuminants

FL12

Philips TL83, Ultralume 30

FL3_1

Standard halophosphate lamp (New set of fluorescent lamps)

FL3_2

Standard halophosphate lamp (New set of fluorescent lamps)

FL3_3

Standard halophosphate lamp (New set of fluorescent lamps)

FL3_4

Deluxe type lamp (New set of fluorescent lamps)

FL3_5

Deluxe type lamp (New set of fluorescent lamps)

FL3_6

Deluxe type lamp (New set of fluorescent lamps)

FL3_7

Three band fluorescent lamp (New set of fluorescent lamps)

FL3_8

Three band fluorescent lamp (New set of fluorescent lamps)

FL3_9

Three band fluorescent lamp (New set of fluorescent lamps)

FL3_10

Three band fluorescent lamp (New set of fluorescent lamps)

FL3_11

Three band fluorescent lamp (New set of fluorescent lamps)

FL3_12

Multi-band fluorescent lamp (New set of fluorescent lamps)

FL3_13

Multi-band fluorescent lamp (New set of fluorescent lamps)

FL3_14

Multi-band fluorescent lamp (New set of fluorescent lamps)

FL3_15

D65 simulator lamp (New set of fluorescent lamps)

HP1

Standard high pressure sodium lamp

HP2

Colour enhanced high pressure sodium lamp

HP3

High pressure metal halide lamp

HP4

High pressure metal halide lamp

HP5

High pressure metal halide lamp

Instances

Instances details
Bounded CIE1931 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Enum CIE1931 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Eq CIE1931 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Methods

(==) :: CIE1931 -> CIE1931 -> Bool #

(/=) :: CIE1931 -> CIE1931 -> Bool #

Read CIE1931 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Show CIE1931 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Illuminant 'A Source #

[x=0.44758, y=0.40745] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'A :: n Source #

Illuminant 'B Source #

[x=0.34842, y=0.35161] - CIE 1931 2° Observer - https:www.colour-science.org

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'B :: n Source #

Illuminant 'C Source #

[x=0.31006, y=0.31616] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'C :: n Source #

Illuminant 'D50 Source #

[x=0.34567, y=0.35851] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'D50 :: n Source #

Illuminant 'D55 Source #

[x=0.33243, y=0.34744] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'D55 :: n Source #

Illuminant 'D60 Source #

[x=0.32163, y=0.33774] - CIE 1931 2° Observer - https:www.colour-science.org (rounded to 5 decimal points)

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'D60 :: n Source #

Illuminant 'D65 Source #

[x=0.31272, y=0.32903] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'D65 :: n Source #

Illuminant 'D75 Source #

[x=0.29903, y=0.31488] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'D75 :: n Source #

Illuminant 'E Source #

[x=1/3, y=1/3] - CIE 1931 2° Observer - https:www.colour-science.org

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'E :: n Source #

Illuminant 'FL1 Source #

[x=0.31310, y=0.33710] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL1 :: n Source #

Illuminant 'FL2 Source #

[x=0.37210, y=0.37510] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL2 :: n Source #

Illuminant 'FL3 Source #

[x=0.40910, y=0.39410] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3 :: n Source #

Illuminant 'FL4 Source #

[x=0.44020, y=0.40310] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL4 :: n Source #

Illuminant 'FL5 Source #

[x=0.31380, y=0.34520] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL5 :: n Source #

Illuminant 'FL6 Source #

[x=0.37790, y=0.38820] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL6 :: n Source #

Illuminant 'FL7 Source #

[x=0.31290, y=0.32920] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL7 :: n Source #

Illuminant 'FL8 Source #

[x=0.34580, y=0.35860] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL8 :: n Source #

Illuminant 'FL9 Source #

[x=0.37410, y=0.37270] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL9 :: n Source #

Illuminant 'FL10 Source #

[x=0.34580, y=0.35880] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL10 :: n Source #

Illuminant 'FL11 Source #

[x=0.38050, y=0.37690] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL11 :: n Source #

Illuminant 'FL12 Source #

[x=0.43700, y=0.40420] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL12 :: n Source #

Illuminant 'FL3_1 Source #

[x=0.44070, y=0.40330] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_1 :: n Source #

Illuminant 'FL3_2 Source #

[x=0.38080, y=0.37340] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_2 :: n Source #

Illuminant 'FL3_3 Source #

[x=0.31530, y=0.34390] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_3 :: n Source #

Illuminant 'FL3_4 Source #

[x=0.44290, y=0.40430] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_4 :: n Source #

Illuminant 'FL3_5 Source #

[x=0.37490, y=0.36720] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_5 :: n Source #

Illuminant 'FL3_6 Source #

[x=0.34880, y=0.36000] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_6 :: n Source #

Illuminant 'FL3_7 Source #

[x=0.43840, y=0.40450] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_7 :: n Source #

Illuminant 'FL3_8 Source #

[x=0.38200, y=0.38320] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_8 :: n Source #

Illuminant 'FL3_9 Source #

[x=0.34990, y=0.35910] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_9 :: n Source #

Illuminant 'FL3_10 Source #

[x=0.34550, y=0.35600] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_10 :: n Source #

Illuminant 'FL3_11 Source #

[x=0.32450, y=0.34340] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_11 :: n Source #

Illuminant 'FL3_12 Source #

[x=0.43770, y=0.40370] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_12 :: n Source #

Illuminant 'FL3_13 Source #

[x=0.38300, y=0.37240] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_13 :: n Source #

Illuminant 'FL3_14 Source #

[x=0.34470, y=0.36090] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_14 :: n Source #

Illuminant 'FL3_15 Source #

[x=0.31270, y=0.32880] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'FL3_15 :: n Source #

Illuminant 'HP1 Source #

[x=0.53300, y=0.41500] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'HP1 :: n Source #

Illuminant 'HP2 Source #

[x=0.47780, y=0.41580] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'HP2 :: n Source #

Illuminant 'HP3 Source #

[x=0.43020, y=0.40750] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'HP3 :: n Source #

Illuminant 'HP4 Source #

[x=0.38120, y=0.37970] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'HP4 :: n Source #

Illuminant 'HP5 Source #

[x=0.37760, y=0.37130] - CIE 1931 2° Observer - CIE15: Technical Report: Colorimetry, 3rd edition

Instance details

Defined in Graphics.Color.Illuminant.CIE1931

Associated Types

type Temperature 'HP5 :: n Source #

RedGreenBlue CIERGB 'E Source #

CIERGB color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Methods

gamut :: RealFloat e => Gamut CIERGB 'E e Source #

transfer :: RealFloat e => e -> e Source #

itransfer :: RealFloat e => e -> e Source #

npm :: (ColorSpace (CIERGB 'Linear) 'E e, RealFloat e) => NPM CIERGB e Source #

inpm :: (ColorSpace (CIERGB 'Linear) 'E e, RealFloat e) => INPM CIERGB e Source #

mkColorRGB :: forall e (l :: Linearity). Color RGB e -> Color (CIERGB l) e Source #

unColorRGB :: forall (l :: Linearity) e. Color (CIERGB l) e -> Color RGB e Source #

(Typeable l, Elevator e) => ColorSpace (CIERGB l) 'E e Source #

CIERGB linear color space

Instance details

Defined in Graphics.Color.Space.CIE1931.RGB

Associated Types

type BaseModel (CIERGB l) Source #

type BaseSpace (CIERGB l) Source #

type Temperature 'A Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'A = 2856
type Temperature 'B Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'B = 4874
type Temperature 'C Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'C = 6774
type Temperature 'D50 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'D50 = 5003
type Temperature 'D55 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'D55 = 5503
type Temperature 'D60 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'D60 = 6003
type Temperature 'D65 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'D65 = 6504
type Temperature 'D75 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'D75 = 7504
type Temperature 'E Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'E = 5454
type Temperature 'FL1 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL1 = 6430
type Temperature 'FL2 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL2 = 4230
type Temperature 'FL3 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3 = 3450
type Temperature 'FL4 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL4 = 2940
type Temperature 'FL5 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL5 = 6350
type Temperature 'FL6 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL6 = 4150
type Temperature 'FL7 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL7 = 6500
type Temperature 'FL8 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL8 = 5000
type Temperature 'FL9 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL9 = 4150
type Temperature 'FL10 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL10 = 5000
type Temperature 'FL11 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL11 = 4000
type Temperature 'FL12 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL12 = 3000
type Temperature 'FL3_1 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_1 = 2932
type Temperature 'FL3_2 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_2 = 3965
type Temperature 'FL3_3 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_3 = 6280
type Temperature 'FL3_4 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_4 = 2904
type Temperature 'FL3_5 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_5 = 4086
type Temperature 'FL3_6 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_6 = 4894
type Temperature 'FL3_7 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_7 = 2979
type Temperature 'FL3_8 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_8 = 4006
type Temperature 'FL3_9 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_9 = 4853
type Temperature 'FL3_10 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_10 = 5000
type Temperature 'FL3_11 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_11 = 5854
type Temperature 'FL3_12 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_12 = 2984
type Temperature 'FL3_13 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_13 = 3896
type Temperature 'FL3_14 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_14 = 5045
type Temperature 'FL3_15 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'FL3_15 = 6509
type Temperature 'HP1 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'HP1 = 1959
type Temperature 'HP2 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'HP2 = 2506
type Temperature 'HP3 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'HP3 = 3144
type Temperature 'HP4 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'HP4 = 4002
type Temperature 'HP5 Source # 
Instance details

Defined in Graphics.Color.Illuminant.CIE1931

type Temperature 'HP5 = 4039

spectralPowerDistributions :: [(Double, V3 Double)] Source #

Daylight SPDs: S0, S1 and S2. The SPD of the studied daylight samples can be expressed as the linear combination of three, fixed SPDs.

  • The first vector (S0) is the mean of all the SPD samples, which is the best reconstituted SPD that can be formed with only a fixed vector.
  • The second vector (S1) corresponds to yellow–blue variation, accounting for changes in the correlated color temperature due to presence or absence of clouds or direct sunlight.
  • The third vector (S2) corresponds to pink–green variation caused by the presence of water in the form of vapor and haze.

All of the values were taken directly from: CIE15: Technical Report: Colorimetry, 3rd edition

Since: 0.1.2

xyzColorMatchingFunctions :: [(Double, V3 Double, V2 Double)] Source #

[(λ, V3 x̄(λ) ȳ(λ) z̄(λ), V2 x(λ) z(λ))]

All of the values were taken directly from: CIE15: Technical Report: Colorimetry, 3rd edition

Since: 0.1.2

rectifyColorTemperature Source #

Arguments

:: Int

Original temperature

-> Double

Original radiation constant c2

-> CCT (i :: k) 

Planckian constant has changed over the years, this function adjusts for that fact.

Since: 0.1.0