kytschBASIC

Put down that phone!
Please view me on real computer.

RGB
RED, GREEN, BLUE, TRANSPARENCY
Requires arcade library

Set an RGB colour.

Example

RGB 0,0,0
BITMAP 0,0,640,480
	RGB 255,0,0,99
	CIRCLEF 320,220,220

	RGB 255,0,0,98
	CIRCLEF 320,220,160

	RGB 255,0,0,95
	CIRCLEF 320,220,100

	RGB 255,0,0,90
	CIRCLEF 320,220,40
BITMAP CLOSE

Output

Parameters

Parameter Type Description
REDintegerRed colour from 0 to 255
GREENintegerGreen colour from 0 to 255
BLUEintegerBlue colour from 0 to 255
Optional
TRANSPARENCYintegerSet how much transparency is to be be applied to the colour. From 0 being none to 100 being 100% transparent.

See also