Color - RGB (Red Green Blue Additive Model)


Red Green Blue (RGB) is a color space (model) that specify a color by setting the amount of each of its three primary colors Red, Green, Blue (RGB).

Red Green Blue is an additive model.

The main purpose of the RGB colour model is for the rendering of images on electronic systems, such as televisions and monitors.


Rgb Color space definition - A simple color consists of three 8-bit numbers in the range 0..255, representing the red, green, and blue components of the color respectively, in the sRGB color space. As of 2007, sRGB is by far the most commonly used RGB color space.

In the RGBA you will find a fourth entry - Alpha (A) which define the transparency.



RGB is an additive model.


<MATH> \begin{array}{rrrl} & & red & + & green & = & yellow \\ & & red & + & blue & = & magenta \\ & & green & + & blue & = & cyan \\ red & + & green & + & blue & = & white \\ \end{array} </MATH>



To create a three-dimensional representation of a given color space, we can assign:

  • the amount of red color to the X axis,
  • the amount of green to its Y axis,
  • the amount of blue to its Z axis.

The resulting 3-D space provides a unique position for every possible color that can be created by combining those three pigments.


Powered by ComboStrap