RGB Channels
From GMpedia.org Wiki
The RGB Channels are three color channels used to define pixel color in 24-bit raster graphics systems.
Contents |
[edit] RGB
RGB stands for:
- Red
- Green
- Blue
Each single channels of the three are a single byte (8-bits), with values ranging from 0-255.
[edit] Writing RGB Values
RGB Values are written by putting the three numerical values in the order R, G, B - all comma separated.
[edit] Principals
RGB colors are the three main additive colors. When the value of these three channels increases, the brightness of the image increases.
Based on that, we know that:
- (0,0,0) is black.
- (255,255,255) is white.
- (255,0,0) is red.
[edit] Alpha channel
In 32-bit raster graphics systems, the RGB channels are used (24 bits) with an additional 8-bits reserved for the alpha channel, which defines the transparency of a pixel color.

