RGB Color Model


  • In this model, the primary colors are red, green, and blue. 
  • It is an additive model, in which colors are produced by adding components, with white having all colors present and black being the absence of any color.
  • This is the model used for active displays such as television and computer screens.


  • The RGB model is usually represented by a unit cube with one corner located at the origin of a three dimensional color coordinate system.
  • The origin (0,0,0) is considered black and the diagonal opposite corner (1,1,1) is called white.
  • The line joining black to white represents a gray scale and has equal components of R, G, B.


  •  Each of the primary colors can have a value in the range 0 to 255. Different colors can be created using combinations of RGB  values.Normally you can observe this type of combinations in paint.