Color Graphics Adapter - Color Palette

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:

    Painting seems to be to the eye what dancing is to the limbs. When that has educated the frame to self-possession, to nimbleness, to grace, the steps of the dancing-master are better forgotten; so painting teaches me the splendor of color and the expression of form, and as I see many pictures and higher genius in the art, I see the boundless opulence of the pencil, the indifferency in which the artist stands free to choose out of the possible forms.
    Ralph Waldo Emerson (1803–1882)

    I have heard that hysterical women say
    They are sick of the palette and fiddle-bow,
    Of poets that are always gay,
    William Butler Yeats (1865–1939)