SCREEN 1 COLOR Yellow Is Brown (Muddy) on EGA Versus CGA Card (21969)
This article was previously published under Q21969
SUMMARY
The following program, which uses the COLOR statement on SCREEN 1, may
give different colors on a machine with an EGA card compared to the
colors on a machine equipped with a CGA card:
10 SCREEN 1
20 COLOR 8,0
30 LINE (30,100)-(40,150),3,bf
40 LINE (10,40)-(60,100),2,bf
50 LINE (100,100)-(130,130),1,bf
The background color selected is dark gray (8). Palette 0 is selected,
and includes red, green, and yellow on a CGA. Under QuickBasic on an
EGA card, the colors may appear "muddy" compared to running on a CGA
card: the red and green are less intense than shown on a CGA card and
the yellow is brown.
This is not a problem with QuickBasic, but is a difference between CGA
and EGA cards. The EGA allows only nonintensified colors. The same
colors occur on an EGA card in the Microsoft GW-Basic Version 3.20,
3.22, or 3.23 Interpreter on an EGA card.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB21969 |
|