RGB color spaces

Each cell is responsive to light of either long, medium, or short wavelengths, which we generally categorize as red, green, and blue.

Applying Grassmann's law of light additivity, the range of colors that can be produced are those enclosed within the triangle on the chromaticity diagram defined using the primaries as vertices.

Both xyY and uʹ,vʹ are derived from the CIE 1931 color space, a device independent space also known as XYZ which covers the full gamut of human-perceptible colors visible to the CIE 2° standard observer.

These devices often reproduce colours using an array of red, green, and blue phosphors agitated by a cathode-ray tube (CRT), or an array of red, green, and blue LCDs lit by a backlight, and are therefore naturally described by an additive color model with RGB primaries.

These early RGB spaces were defined in part by the phosphor used by CRTs in use at the time, and the gamma of the electron beam.

The numerical quantity of colors is related to bit depth and not the size or shape of the gamut.

A large space with a low bit depth can be detrimental to the gamut density and result in high

1931 CIE chromaticity diagram showing some RGB color spaces as defined by their chromaticity triangles
RGB cube
One million colors in RGB space, visible in full-size image