Color Palette
Despite varying bit depths in CGA's graphics mode (see below), CGA processes colors in its palette in four bits, yielding 24 = 16 different colors. The four color bits are arranged according to the RGBI color model: The lower three bits represent red, green, and blue color components; a fourth "intensifier" bit increases the brightness of all three color components (red, green, and blue) of the pixels it is set for.
Full CGA 16-color palette | |||
---|---|---|---|
0 | black #000000 |
8 | gray #555555 |
1 | blue #0000AA |
9 | light blue #5555FF |
2 | green #00AA00 |
10 | light green #55FF55 |
3 | cyan #00AAAA |
11 | light cyan #55FFFF |
4 | red #AA0000 |
12 | light red #FF5555 |
5 | magenta #AA00AA |
13 | light magenta #FF55FF |
6 | brown #AA5500 |
14 | yellow #FFFF55 |
7 | light gray #AAAAAA |
15 | white (high intensity) #FFFFFF |
Read more about this topic: Color Graphics Adapter
Famous quotes containing the words color and/or palette:
“To face the garment of rebellion
With some fine color that may please the eye
Of fickle changelings and poor discontents.
Which gape and rub the elbow at the news
Of hurly-burly innovation.”
—William Shakespeare (15641616)
“The great God endows His children variously. To some he gives intellectand they move the earth. To some he allots heartand the beating pulse of humanity is theirs. But to some He gives only a soul, without intelligenceand these, who never grow up, but remain always His children, are Gods fools, kindly, elemental, simple, as if from His palette the Artist of all had taken one color instead of many.”
—Mary Roberts Rinehart (18761958)