The RGB
color model is an additive color
model in which red, green, and blue light are added together in various ways to reproduce
a broad array of colors. The name of the model comes from the initials of the
three additive primary colors, red, green, and blue.
The main purpose of the RGB color model is for the sensing,
representation, and display of images in electronic systems, such as
televisions and computers, though it has also been used in conventional photography. Before the electronic age, the RGB color model
already had a solid theory behind it, based in human
perception of colors
Typical RGB input devices are color TV and video cameras, image
scanners, and digital
cameras. Typical RGB output devices
are TV sets of various technologies (CRT, LCD, plasma, etc.), computer and mobile
phone displays, video
projectors, multicolor LED displays, and large screens such as JumboTron, etc. Color printers, on the other hand, are not RGB
devices, but subtractive
color devices (typically CMYK
color model).
The RGB color model is additive in the sense that the three light
beams are added together, and their light spectra add, wavelength for
wavelength, to make the final color's spectrum.
When
one of the components has the strongest intensity, the color is a hue near this
primary color (reddish, greenish, or bluish), and when two components have the
same strongest intensity, then the color is a hue of a secondary color (a shade of cyan, magenta or yellow).
A
secondary color is formed by the sum of two primary colors of equal intensity:
cyan is green+blue, magenta is red+blue, and yellow is red+green. Every
secondary color is the complement of one primary color; when a primary
and its complementary secondary color are added together, the result is white:
cyan complements red, magenta complements green, and yellow complements blue.
The RGB color model itself
does not define what is meant by red, green, and blue colorimetrically, and so the results
of mixing them are not specified as absolute, but relative to the primary
colors. When the exact chromaticities of
the red, green, and blue primaries are defined, the color model then becomes an absolute color space,
such as sRGB or Adobe RGB;
see RGB color spaces for more details.