[Home]RGB color space

HomePage | Recent Changes | Preferences

Showing revision 1
[This has broader applications than computer science; can someone reorganise and/or expound?]

The RGB color space is the most common used to display computer graphics on a monitor. For each pixel in the image, independent values for red, green and blue (hence the RGB acronym) are stored. These three colors correspond to the three types of color-sensitive cones in the human eye, and can therefore reproduce any color percievable by humans which happens to be between the [black level]? and [white point]? of the monitor being used to display the image. Typically these values vary between zero and 255.

As an example:

  *  (0, 0, 0) is black
  *  (255, 255, 255) is white
  *  (255, 0, 0) is red
  *  (0, 255, 0) is green
  *  (0, 0, 255) is blue
  *  (255, 255, 0) is yellow
  *  (0, 255, 255) is cyan
  *  (255, 0, 255) is magenta

It is important to note that the intensity of the color output on computer display devices isn't always linear. That is -- even though a value of 127 is very close to halfway between zero and 255, the color output of a computer display device when displaying (127, 127, 127) is measured, you would likely find it to be significantly higher than halfway between the [black level]? and [white point]? of your monitor. This is because most display devices have a [display gamma]?. (i.e. the behavior of most display devices is, unfortunately, not linear in the relationship between color value and output intensity).


HomePage | Recent Changes | Preferences
This page is read-only | View other revisions | View current revision
Edited September 26, 2001 4:15 pm by Bignose (diff)
Search: