Color - RGB (Red Green Blue Additive Model)

1 - About

A color is specified by setting the amount of each of the 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 sensing, representation, and display of images in electronic systems, such as televisions and computers.

3 - Model

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.

3.1 - RGBA

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

4 - Representation

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.

data/type/color/rgb.txt ยท Last modified: 2017/11/06 12:19 by gerardnico