PC Logo Wiki
Advertisement

Syntax

BACKGROUND

BG

Explanation

BACKGROUND outputs a number which represents the current background color of the graphics screen.

0 Black 8 Dark Grey
1 Blue 9 Light Blue
2 Green 10 Light Green
3 Cyan 11 Light Cyan
4 Red 12 Light Red
5 Violet 13 Magenta
6 Brown 14 Yellow
7 Light Grey 15 White

To set the background color of the graphics screen, use SETBG.

Example

Pc logo 6

This is a BACKGROUND command example. Its executes the "BACKGROUND" command.

? BACKGROUND

Result: 2

Advertisement