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.

  • a

    Incandescent/Tungsten

    Declaration

    Swift

    case a
  • b

    Old Direct Sunlight at Noon

    Declaration

    Swift

    case b
  • c

    Old Daylight

    Declaration

    Swift

    case c
  • d50

    ICC Profile PCS

    Declaration

    Swift

    case d50
  • d55

    Mid-morning Daylight

    Declaration

    Swift

    case d55
  • d65

    Daylight, sRGB, Adobe-RGB

    Declaration

    Swift

    case d65
  • d75

    North Sky Daylight

    Declaration

    Swift

    case d75
  • e

    Equal Energy

    Declaration

    Swift

    case e
  • f1

    Daylight Fluorescent

    Declaration

    Swift

    case f1
  • f2

    Cool Fluorescent

    Declaration

    Swift

    case f2
  • f3

    White Fluorescent

    Declaration

    Swift

    case f3
  • f4

    Warm White Fluorescent

    Declaration

    Swift

    case f4
  • f5

    Daylight Fluorescent

    Declaration

    Swift

    case f5
  • f6

    Lite White Fluorescent

    Declaration

    Swift

    case f6
  • f7

    Daylight Fluorescent, D65 Simulator

    Declaration

    Swift

    case f7
  • f8

    Sylvania F40, D50 Simulator

    Declaration

    Swift

    case f8
  • f9

    Cool White Fluorescent

    Declaration

    Swift

    case f9
  • f10

    Ultralume 50, Philips TL85

    Declaration

    Swift

    case f10
  • f11

    Ultralume 40, Philips TL84

    Declaration

    Swift

    case f11
  • f12

    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.