CIEXYZ

struct CIEXYZ : Hashable

The CIE 1931 XYZ components of a color - luminance (Y) and chromaticity (X,Z).

  • X

    A mix of cone response curves chosen to be orthogonal to luminance and non-negative, in the range [0, 95.047].

    Declaration

    Swift

    public var X: CGFloat
  • Y

    The luminance component of the color, in the range [0, 100].

    Declaration

    Swift

    public var Y: CGFloat
  • Z

    Somewhat equal to blue, or the “S” cone response, in the range [0, 108.883].

    Declaration

    Swift

    public var Z: CGFloat
  • Initializes the CIE 1931 XYZ components of a color - luminance (Y) and chromaticity (X,Z).

    Declaration

    Swift

    public init(X: CGFloat, Y: CGFloat, Z: CGFloat)

    Parameters

    X

    A mix of cone response curves chosen to be orthogonal to luminance and non-negative, in the range [0, 95.047].

    Y

    The luminance component of the color, in the range [0, 100].

    Z

    Somewhat equal to blue, or the “S” cone response, in the range [0, 108.883].