Module srgb::xyz

source ·
Expand description

Functions and constant handling and related to conversion between linear sRGB space and CIE XYZ colour space.

Constants§

  • XYZ coordinates of the D65 reference white-point used in sRGB colour space.
  • xyY coordinates of the D65 reference white-point used in sRGB colour space.
  • XYZ coordinates of red, green and blue primaries defining the sRGB space.
  • xyY coordinates of red, green and blue primaries defining the sRGB space.
  • The basis conversion matrix for moving from XYZ to linear sRGB colour space.
  • The basis conversion matrix for moving from linear sRGB space to XYZ colour space.

Functions§

  • Converts a colour in an XYZ space into a linear sRGB colour space.
  • Converts a colour in linear sRGB space into an XYZ colour space.