SecondBASIC Documentation v3

Home / Command Reference / BgColor

BgColor

Description: Sets the backdrop color for the screen. The backdrop is displayed where tile data is equal to 0, and sits behind all background planes.

Syntax:

BgColor <palette>, <index>

Part Description
<palette> Required. This is the palette number which ranges between 0 and 3. Values outside of this range may cause undesired effects.
<index> Required. This is the color index of the palette. Valid values range between 0 and 15. Values outside of this range may cause undesired effects.

Example:

        BgColor 0,1