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:

    “When a bachelor of philosophy from the Antilles refuses to apply for certification as a teacher on the grounds of his color I say that philosophy has never saved anyone. When someone else strives and strains to prove to me that black men are as intelligent as white men I say that intelligence has never saved anyone: and that is true, for, if philosophy and intelligence are invoked to proclaim the equality of men, they have also been employed to justify the extermination of men.”
    —Frantz Fanon (1925–1961)

    “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)