Table of Contents

BACKGROUND

VIC-20 C64 C16 Plus/4 C128 M65

Sets the background color.

Syntax

BACKGROUND <color>
BACKGROUND <color>, <luminance>
  • <color> is the color code. The accepted values are:
    • 0 - 7 for VIC-20
    • 0 - 15 for C64 C16 Plus/4 C128
    • 0 - 31 for M65
  • On the Commodore 16 and Plus/4, both <color> and <luminance> values must be provided

Examples

CONST BLACK = 0
CONST WHITE = 1
BORDER BLACK : BACKGROUND WHITE

See also