Table of Contents

ugBASIC User Manual

COLOR BACK ✓

SYNTAX

   COLOR BACK color

PURPOSE

The COLOR BACK command used on target that support both color graphics, backgorund colors and specialized clearing screen routines. Its primary function is to set the background color of the screen or a specific area of the screen, and then clearing the screen using that color.

This command can be used to customize the appearance of programs by creating colored backgrounds, and could be essential for creating simple games or graphical applications, where the background color contributes to aesthetics and readability. This can be used to highlight certain areas of the screen or to create visual contrasts.

The availability of colors and the accuracy of their representation depend on the computer's video chipsed.

EXAMPLE

  COLOR BACK RED
  COLOR BACK WHITE

See also the following example files:

ABBREVIATION

 CrBa

AVAILABLE ON

SEE ALSO

PAPER CLS

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY