RGB_CHROMATICITY_COORDS
constRGB_CHROMATICITY_COORDS:object
Defined in: packages/math-color/src/spaces/rgb/rgb-profiles.ts:74
Primary chromaticities as published by each colour space’s defining
specification. These are specification constants, not measurements: a value
here that disagrees with the spec silently skews every conversion through
XYZ, and only for chromatic colours — the white-point normalisation in
rgbConversionMatrix keeps neutrals correct either way, so the error
hides. rgb-profiles.test.ts pins each one.
Type Declaration
Section titled “Type Declaration”AdobeRGB
Section titled “AdobeRGB”
readonlyAdobeRGB:object
Adobe RGB (1998), §4.3.4.1.
AdobeRGB.b
Section titled “AdobeRGB.b”
readonlyb:object
AdobeRGB.b.x
Section titled “AdobeRGB.b.x”
readonlyx:0.15=0.15
AdobeRGB.b.y
Section titled “AdobeRGB.b.y”
readonlyy:0.06=0.06
AdobeRGB.g
Section titled “AdobeRGB.g”
readonlyg:object
AdobeRGB.g.x
Section titled “AdobeRGB.g.x”
readonlyx:0.21=0.21
AdobeRGB.g.y
Section titled “AdobeRGB.g.y”
readonlyy:0.71=0.71
AdobeRGB.r
Section titled “AdobeRGB.r”
readonlyr:object
AdobeRGB.r.x
Section titled “AdobeRGB.r.x”
readonlyx:0.64=0.64
AdobeRGB.r.y
Section titled “AdobeRGB.r.y”
readonlyy:0.33=0.33
DisplayP3
Section titled “DisplayP3”
readonlyDisplayP3:object
Display P3: DCI-P3 primaries, D65 white, sRGB transfer curve.
DisplayP3.b
Section titled “DisplayP3.b”
readonlyb:object
DisplayP3.b.x
Section titled “DisplayP3.b.x”
readonlyx:0.15=0.15
DisplayP3.b.y
Section titled “DisplayP3.b.y”
readonlyy:0.06=0.06
DisplayP3.g
Section titled “DisplayP3.g”
readonlyg:object
DisplayP3.g.x
Section titled “DisplayP3.g.x”
readonlyx:0.265=0.265
DisplayP3.g.y
Section titled “DisplayP3.g.y”
readonlyy:0.69=0.69
DisplayP3.r
Section titled “DisplayP3.r”
readonlyr:object
DisplayP3.r.x
Section titled “DisplayP3.r.x”
readonlyx:0.68=0.68
DisplayP3.r.y
Section titled “DisplayP3.r.y”
readonlyy:0.32=0.32
ProPhotoRGB
Section titled “ProPhotoRGB”
readonlyProPhotoRGB:object
ROMM RGB, ISO 22028-2.
ProPhotoRGB.b
Section titled “ProPhotoRGB.b”
readonlyb:object
ProPhotoRGB.b.x
Section titled “ProPhotoRGB.b.x”
readonlyx:0.0366=0.0366
ProPhotoRGB.b.y
Section titled “ProPhotoRGB.b.y”
readonlyy:0.0001=0.0001
ProPhotoRGB.g
Section titled “ProPhotoRGB.g”
readonlyg:object
ProPhotoRGB.g.x
Section titled “ProPhotoRGB.g.x”
readonlyx:0.1596=0.1596
ProPhotoRGB.g.y
Section titled “ProPhotoRGB.g.y”
readonlyy:0.8404=0.8404
ProPhotoRGB.r
Section titled “ProPhotoRGB.r”
readonlyr:object
ProPhotoRGB.r.x
Section titled “ProPhotoRGB.r.x”
readonlyx:0.7347=0.7347
ProPhotoRGB.r.y
Section titled “ProPhotoRGB.r.y”
readonlyy:0.2653=0.2653
Rec2020
Section titled “Rec2020”
readonlyRec2020:object
ITU-R BT.2020.
Rec2020.b
Section titled “Rec2020.b”
readonlyb:object
Rec2020.b.x
Section titled “Rec2020.b.x”
readonlyx:0.131=0.131
Rec2020.b.y
Section titled “Rec2020.b.y”
readonlyy:0.046=0.046
Rec2020.g
Section titled “Rec2020.g”
readonlyg:object
Rec2020.g.x
Section titled “Rec2020.g.x”
readonlyx:0.17=0.17
Rec2020.g.y
Section titled “Rec2020.g.y”
readonlyy:0.797=0.797
Rec2020.r
Section titled “Rec2020.r”
readonlyr:object
Rec2020.r.x
Section titled “Rec2020.r.x”
readonlyx:0.708=0.708
Rec2020.r.y
Section titled “Rec2020.r.y”
readonlyy:0.292=0.292
readonlysRGB:object
IEC 61966-2-1:1999, shared with ITU-R BT.709.
sRGB.b
Section titled “sRGB.b”
readonlyb:object
sRGB.b.x
Section titled “sRGB.b.x”
readonlyx:0.15=0.15
sRGB.b.y
Section titled “sRGB.b.y”
readonlyy:0.06=0.06
sRGB.g
Section titled “sRGB.g”
readonlyg:object
sRGB.g.x
Section titled “sRGB.g.x”
readonlyx:0.3=0.3
sRGB.g.y
Section titled “sRGB.g.y”
readonlyy:0.6=0.6
sRGB.r
Section titled “sRGB.r”
readonlyr:object
sRGB.r.x
Section titled “sRGB.r.x”
readonlyx:0.64=0.64
sRGB.r.y
Section titled “sRGB.r.y”
readonlyy:0.33=0.33