Respond to this message
Return to Index
your numbers are slightly off...
Posted Jul 14, 2012 10:20 PM
Note that those colors differ from the normal Windows Console colors (which you can get from the "Properties" of a console window).
In Windows XP, QBASIC in full screen gives you the CGA colors, and in a window gives you the Windows colors. Note that color 6 changes between brown and yellow, based on whether it is full screen.
Here is QB64 code:
DIM i AS LONG
FOR i = 0 TO 15
PRINT HEX$(_PALETTECOLOR(i, 0))
Also send responses to my email address