Basic
Colors
BASIC has three color sets:
a
2
color set, a
4
color set and a 16 color
set. They function as follows:
Color Set Attributes
2
colors
4
colors
Black and white. The background is black and the
foreground
is
white. These colors cannot be changed.
One set or
palette
of
4
colors. Each color is assigned
a number. The numbers and their corresponding colors
are:
No.
Color
1
Cyan
2
Magenta
3
White
Screen Mode
1,
however, has
2
palettes. The two sets
and their corresponding numbers are:
No.
Palette
0
Palette
1
1
green cyan
2
red
magenta
3
brown white
Color 0 is the current background color and
is
initially
set to black. You may change the background color to
any
of
the colors in the
16
Color Set.
One palette with
16
colors. Each color is numbered as
shown below:
No.
Color
No.
Color
16 colors
0 black
1
blue
2
green
3
cyan
4
red
5
magenta
6
brown
7
gray
8
dark gray
9
light blue
10 light green
11
light cyan
12
light red
13
light magenta
14
yellow
15 white
16
Tandy
1000