GRAPHIC COLOR statement  

Purpose

Sets the foreground and background color.

Syntax

GRAPHIC COLOR foreground& [, background&]

Remarks

If either parameter is -1, the default foreground/background color is used.  If the background parameter is -2, the background is not painted, allowing the content behind to become visible.  If either parameter is -3, the existing color is not changed.  Otherwise, the specified RGB color is used.

See also

Built In RGB Color Equates, GRAPHIC ATTACH, GRAPHIC PRINT, GRAPHIC SET FONT

Example

' Set red foreground and blue background color.

GRAPHIC COLOR %RED, RGB(0,0,191)