This page has been archived, and is no longer updated.


The COLOR statement takes the syntax

 COLOR bgcolor, fgcolor

Here is a list of all of the colors:

List of QBASIC colors

(Download program)
You may discover, when playing with background colors, that your output ends up looking like this:

Very spotty background colors.

Just put the COLOR statement before the CLS, to make your output look like this:

Proper background colors