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:

    The pills are a mother, but better,
    every color and as good as sour balls.
    I’m on a diet from death.
    Anne Sexton (1928–1974)

    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)