Tuesday 30 August 2016

RGB

  • RGB represents Red, Green and Blue.It is an additive color model.
  • This three colors(RGB) can mix together to form any color.
  • 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.
Example image of combining RGB color's
  • Each level in RGB is represented by the range of decimal numbers from 0 to 255.
  • The total number of available colors is 256 x 256 x 256 or 16,777,216 possible colors.
  • In HTML, the color for a page background or text font is specified by an RGB value, expressed with six digits in hexadecimal format as shown below:
HTML color code example