GLBasic User Manual

Main sections

STDCOLOR

STDCOLOR iForegnd%=15, iBackgnd%=1



Sets the color for the next STDOUT console output.

Colours are:
0=black
1=blue
2=green
3=cyan
4=red
5=purple
6=yellow
7=ltgray
8=gray
9=light blue
10=light green
11=light cyan
12=light red
13=light purple
14=light yellow
15=white

(I apologize to the British for using "color" instead of "colour", but I have the impression for programming languages that it's the default)

See also...