Basic Palette (ANSI-16)

The 16 standard ANSI terminal colors (codes 30-37, 90-97).

Tag names shown below are for use in Spectrum format strings, e.g. @@{<tag-name>text@@}.

Code

Tag Name

Hex

R

G

B

Color

30

basic-black

#000000

0

0

0

 

31

basic-red

#800000

128

0

0

 

32

basic-green

#008000

0

128

0

 

33

basic-yellow

#808000

128

128

0

 

34

basic-blue

#000080

0

0

128

 

35

basic-magenta

#800080

128

0

128

 

36

basic-cyan

#008080

0

128

128

 

37

basic-white

#808080

128

128

128

 

90

bright-black

#c0c0c0

192

192

192

 

91

bright-red

#ff0000

255

0

0

 

92

bright-green

#00ff00

0

255

0

 

93

bright-yellow

#ffff00

255

255

0

 

94

bright-blue

#0000ff

0

0

255

 

95

bright-magenta

#ff00ff

255

0

255

 

96

bright-cyan

#00ffff

0

255

255

 

97

bright-white

#ffffff

255

255

255