5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is
10
furnished to do so, subject to the following conditions:
12
The above copyright notice and this permission notice shall be included in
13
all copies or substantial portions of the Software.
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
-- |Standard illuminants defined by the International Commission on
24
-- Illumination (CIE).
25
module Data.Colour.CIE.Illuminant where
27
import Data.Colour.CIE.Chromaticity
29
-- |Incandescent \/ Tungsten
30
a :: (Fractional a) => Chromaticity a
31
a = mkChromaticity 0.44757 0.40745
33
-- |{obsolete} Direct sunlight at noon
34
b :: (Fractional a) => Chromaticity a
35
b = mkChromaticity 0.34842 0.35161
37
-- |{obsolete} Average \/ North sky Daylight
38
c :: (Fractional a) => Chromaticity a
39
c = mkChromaticity 0.31006 0.31616
41
-- |Horizon Light. ICC profile PCS
42
d50 :: (Fractional a) => Chromaticity a
43
d50 = mkChromaticity 0.34567 0.35850
45
-- |Mid-morning \/ Mid-afternoon Daylight
46
d55 :: (Fractional a) => Chromaticity a
47
d55 = mkChromaticity 0.33242 0.34743
49
-- |Noon Daylight: Television, sRGB color space
50
d65 :: (Fractional a) => Chromaticity a
51
d65 = mkChromaticity 0.31271 0.32902
53
-- |North sky Daylight
54
d75 :: (Fractional a) => Chromaticity a
55
d75 = mkChromaticity 0.29902 0.31485
58
e :: (Fractional a) => Chromaticity a
59
e = mkChromaticity (1/3) (1/3)
61
-- |Daylight Fluorescent
62
f1 :: (Fractional a) => Chromaticity a
63
f1 = mkChromaticity 0.31310 0.33727
65
-- |Cool White Fluorescent
66
f2 :: (Fractional a) => Chromaticity a
67
f2 = mkChromaticity 0.37208 0.37529
70
f3 :: (Fractional a) => Chromaticity a
71
f3 = mkChromaticity 0.40910 0.39430
73
-- |Warm White Fluorescent
74
f4 :: (Fractional a) => Chromaticity a
75
f4 = mkChromaticity 0.44018 0.40329
77
-- |Daylight Fluorescent
78
f5 :: (Fractional a) => Chromaticity a
79
f5 = mkChromaticity 0.31379 0.34531
81
-- |Lite White Fluorescent
82
f6 :: (Fractional a) => Chromaticity a
83
f6 = mkChromaticity 0.37790 0.38835
85
-- |D65 simulator, Daylight simulator
86
f7 :: (Fractional a) => Chromaticity a
87
f7 = mkChromaticity 0.31292 0.32933
89
-- |D50 simulator, Sylvania F40 Design 50
90
f8 :: (Fractional a) => Chromaticity a
91
f8 = mkChromaticity 0.34588 0.35875
93
-- |Cool White Deluxe Fluorescent
94
f9 :: (Fractional a) => Chromaticity a
95
f9 = mkChromaticity 0.37417 0.37281
97
-- |Philips TL85, Ultralume 50
98
f10 :: (Fractional a) => Chromaticity a
99
f10 = mkChromaticity 0.34609 0.35986
101
-- |Philips TL84, Ultralume 40
102
f11 :: (Fractional a) => Chromaticity a
103
f11 = mkChromaticity 0.38052 0.37713
105
-- |Philips TL83, Ultralume 30
106
f12 :: (Fractional a) => Chromaticity a
107
f12 = mkChromaticity 0.43695 0.40441
b'\\ No newline at end of file'