RGB

From Camera-wiki.org
Revision as of 00:26, 12 June 2008 by Awcam (talk | contribs) (rough description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RGB (Red, Green, Blue) is a common way of representing colour in a digital image. The colour of each pixel is represented by three numbers, being the amount of red, green and blue light making up that colour. These are commonly 8-bit binary numbers, and so range between 0 and 255 when written in decimal (or x00 and xFF in Hexadecimal)- as seen in colour selectors in photo processing programs. This leads to the common colour depth of 24 bits.

There are alternatives to RGB, such as CMYK.

RGB is the most common way to represent colours in digital image files; GIF files use RGB in their indexed colour table, and formats such as JPEG and TIFF have RGB as the most popular option.

RGB is also a common way to connect computer monitors, where colour is represented by three separate analogue signals - and the computer hardware will often use RGB for colour representation.