RGB (Red, Green, Blue) is a way of describing color. Each color is described by a set of three numbers. For example, (102, 51, 255) describes THIS COLOR.
The color’s RGB value, written (n, n, n), describes the intensity of the red, green, and blue channels that make up that color. The range of values for each channel depends on the channel’s bit-depth, or how many bits are used for each channel.
|8 bit||0 – 255|
|16 bit||0 – 32768|
|32 bit||0.000 – 1.000|
For example, in an 8-bit RGB each channel can have a value from 0 to 255. Zero means no brightness for that channel, 255 means maximum brightness. 8 bit RGB colors can range from (0, 0, 0) to (255, 255, 255) and every combination in between, or 2563 = 16,777,216 different colors.
Note that a 32 bit RGB should have an integer range between 0 and 232-1 or 4,294,967,295. However, this is normalized to a decimal value between 0.000 and 1.000.