Color
Color
- (r, g, b) triple specifies intensities of the three primary colors
- Direct color (for 24-bit frame buffer):
- 16.7 millions of colors specified by 24-bit index
- Each color component indexes into separate cell of 256-entry colormap
- Pseudo color (for 8-bit frame buffer):
- 256-entry colormap with 8-bit index
- 3 bits for red, 3 bits for green, and 2 bits for blue