| LAST | Color Theory | NEXT |
| Some Definitions |
Color Model: A method for producing a new color by mixing a small set of standard primary colors. |
Channels: another term for the primary colors used in a color model, e.g. Red, Green and Blue in RGB. Interchangeable with the term component. |
RGB: The file formats manipulated by the GD library all use the RGB color model, which is an abstract representation of the way television and computer monitors work. In the physical world, adjacent phosphor dots of red, green and blue are stimulated to varying degrees to produce a wide range of color. In the mathematical model, three channels of red, green and blue grids of pixels are given values from zero to 100% that correspond to the levels of red, green and blue light. |
Bit-depth: the number of steps between zero and 100% in a color model determined by the number of bits used to store the information. The most common and familiar system uses 8 bits to store the value of each channel, thus giving 256 possible values (from 0-255) for each pixel (just for #!@$s and giggles, these values are often still referred to by their hexadecimal values of 0-FF). In an 8-bit RGB color model, it takes 3 channels of 8 bits each to represent any color in the model, hence the familiar six digit hexadecimal color codes from HTML. |
| LAST | Table of Contents | Function Index | NEXT |