Color


Color red,green,blue{,alpha.xor}

This command sets the current drawing color. Values range from 0 to 100.

The Alpha parameter is optional.

If the xor parameter is 0 (default) drawing is done normally. If xor is 1 the drawing color is xor(ed) with the color already on the screen or bitmap.

Color values are decimal so commands like Color 55.5, 24.3, 0 are valid.

The current color is is used to fill the background when the screen is cleared with the CLS command.

For Example:

Color 100,0,0
CLS

This would set the screen background color to red.

ColorRGBA red,green,blue{,alpha,xor}

This command sets the current drawing color using the more traditional color values. Values range from 0 to 255. The Alpha parameter is optional.






Become a Patron