|
RGB (which stands for Red, Green, and Blue)refers to the color of light used in most monitors or screens and is an additive color model. This means that no light is black and the combination of all light is white. Instead of using a percent from 0-100, RGB uses one byte to represent each color. Since there are three colors, each RGB value (1 pixel) is 3 bytes of data (24 bits), much larger than the 1 bit a black and white image uses. If the RGB value of a color was (255,0,0), all the red light is on and no green or blue light is on, so it would be a red light. Likewise, (0,0,255) would be blue. Using 24 bits to represents color gives [...] 16,777,216 colors.
— Computer Science Principles
(book)
by Kevin Hare
(see stats)
|