RGB color model facts for kids
RGB (red, green, blue) is an additive color model. In this model red, green and blue colors are added together to form a new color.
An RGB color can be made by shining three colored lights of red, green, and blue onto a white wall in a dark room. Each light has a dimmer (to regulate its intensity.)
If only the red light is on, the wall will be red. If only the green light is on, the wall will look green. If the red and green lights are on together, the wall will look yellow. Dim the red light and the wall will become more of a yellow-green.
Each setting of the three dimmers will produce a different result, either in color or in brightness or both. The set of all possible results is the gamut. Swap the red lamp for one of a different brand that is slightly more orange, and there will be a slightly different gamut, since the set of all colors that can be produced with the three lights will be changed.
The name of the model comes from the initials of the three primary colors, red, green, and blue.
The purpose of the RGB color model is for capturing, storing, and displaying images in digital electronic devices, such as photo cameras, television sets, video cameras and computers. Before the electronic age, the RGB color model already had a solid theory behind it, based in human perception of colors.
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 set of colors. The three light beams are added together, and their light spectra add to make the final color's spectrum. Zero intensity for each component gives the darkest color (no light, considered the black), and full intensity of each gives a white. This is in stark contrast to physical paints, such as oil paint, which create black when mixed.
The additive color model is opposite to the subtractive color model, particularly the CMY color model.
The RGB color model is based on the Young–Helmholtz theory of trichromatic color vision, developed by Thomas Young and Hermann von Helmholtz in the early to mid-nineteenth century, and on James Clerk Maxwell's color triangle that elaborated that theory (circa 1860).
The first experiments with RGB in early color photography were made in 1861 by Maxwell himself, and involved the process of combining three color-filtered separate picture takes. To reproduce the color photograph, three matching projections over a screen in a dark room were necessary.
The modern RGB technology for color CRT displays was patented by Werner Flechsig in Germany in 1938.
A color in the RGB color model is recorded by indicating how much of each of the red, green, and blue is included. The color is expressed as an RGB triplet (r,g,b), each component of which can vary from zero to a defined maximum value. If all the components are at zero the result is black; if all are at maximum, the result is the brightest representable white.
These ranges may be quantified in several different ways:
- From 0 to 1, with any fractional value in between. This representation is used in theoretical analyses, and in systems that use floating point representations.
- Each color component value can also be written as a percentage, from 0% to 100%.
- In computers, the component values are often stored as integer numbers in the range 0 to 255, the range that a single 8-bit byte can offer. These are often represented as either decimal or hexadecimal numbers.
- Sophisticated digital image equipment are often able to deal with larger integer ranges for each primary color, such as 0..1023 (10 bits), 0..65535 (16 bits) or even larger, by extending the 24-bits (three 8-bit values) to 32-bit, 48-bit, or 64-bit units.
For example, brightest saturated red is written in the different RGB notations as:
Notation RGB triplet Arithmetic (1.0, 0.0, 0.0) Percentage (100%, 0%, 0%) Digital 8-bit per channel (255, 0, 0) or sometimes
Digital 12-bit per channel (4095, 0, 0) Digital 16-bit per channel (65535, 0, 0)
Images for kids
A set of primary colors, such as the sRGB primaries, define a color triangle; only colors within this triangle can be reproduced by mixing the primary colors. Colors outside the color triangle are therefore shown here as gray. The primaries and the D65 white point of sRGB are shown. The background figure is the CIE xy chromaticity diagram.
Cutaway rendering of a color CRT: 1. Electron guns 2. Electron beams 3. Focusing coils 4. Deflection coils 5. Anode connection 6. Mask for separating beams for red, green, and blue part of displayed image 7. Phosphor layer with red, green, and blue zones 8. Close-up of the phosphor-coated inner side of the screen
RGB phosphor dots in a CRT monitor
RGB color model Facts for Kids. Kiddle Encyclopedia.