Illuminant
enum Illuminant
A standard illuminant defined by the International Commission on Illumination (CIE) which provides a basis for comparing images or colors recorded under different lighting.
-
Incandescent/Tungsten
Declaration
Swift
case a
-
Old Direct Sunlight at Noon
Declaration
Swift
case b
-
Old Daylight
Declaration
Swift
case c
-
ICC Profile PCS
Declaration
Swift
case d50
-
Mid-morning Daylight
Declaration
Swift
case d55
-
Daylight, sRGB, Adobe-RGB
Declaration
Swift
case d65
-
North Sky Daylight
Declaration
Swift
case d75
-
Equal Energy
Declaration
Swift
case e
-
Daylight Fluorescent
Declaration
Swift
case f1
-
Cool Fluorescent
Declaration
Swift
case f2
-
White Fluorescent
Declaration
Swift
case f3
-
Warm White Fluorescent
Declaration
Swift
case f4
-
Daylight Fluorescent
Declaration
Swift
case f5
-
Lite White Fluorescent
Declaration
Swift
case f6
-
Daylight Fluorescent, D65 Simulator
Declaration
Swift
case f7
-
Sylvania F40, D50 Simulator
Declaration
Swift
case f8
-
Cool White Fluorescent
Declaration
Swift
case f9
-
Ultralume 50, Philips TL85
Declaration
Swift
case f10
-
Ultralume 40, Philips TL84
Declaration
Swift
case f11
-
Ultralume 30, Philips TL83
Declaration
Swift
case f12
-
The XYZ tristimulus values of the white point (often referred to as reference white) of the illuminant for a given standard observer.
Declaration
Swift
func whitePoint(for observer: UIColor.StandardObserver = .two, scale: CGFloat = 100.0) -> UIColor.Tristimulus
Parameters
observer
The standard observer with which the illuminant is observed.
scale
The numerical scale/multiplier of the tristimulus values. XYZ values are usually in the range [0, 100], so the default value is 100.