Pixel |
For a black and white picture every pixel is characterizd by its degree of brightness or darkness based on a scale from 0 to 255. In the case of a color picture the color of the pixel is defined by a mixing of 3 basic colors (red, green and blue). The degree of intensity of each of them is also represented by a number between 0 and 255. Thus a pixel with 255 red, 0 green and 0 blue is a red pixel. 255 red, 255 green and 0 blue gives yellow. So it's possible to characterize all shades and hues of a pixel by means of 3 bytes as with the 8 bits of a byte one has 256 possible combinations of 0s and 1s.