Color Specifications - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

Color Specification
In the Sanyo Basic screen, the colors of the displayed
characters and the screen field can be specified. This
is called <character color> and background color>.
These can be set by the COLOR instruction using the
color codes. The color codes are represented by the
expressions whose vaues are within the range 0
7
(including the margins). The lower order three bits (in
binary notation) correspond to red, green, and blue,
respectively. When the colors indicated by the higher
bits are mixed, the resulting color is the color of the
code.
Color code
Lower order three bits
Color
Red
Green
Blue
0
0
0
0
Black
Blue
Green
1
0
0
1
2
0
1
0
3
0
1
1
Light blue
1
0
0
Red
5
1
0
1
Purple
Yellow
White
6
1
1
0
7
1
1
1
Color is specified for some of the graphic instructions
also by the color codes. The COLOR instruction is
invalid for monochrome displays because background
color is always assumed as OFF and character color is
assumed as ON.
3—107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents