kytschBASIC

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

RGB
RED, GREEN, BLUE, TRANSPARENCY
Requires arcade library

Set an RGB colour.

Example

SCREEN

	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

	END BITMAP

END SCREEN

Output

Parameters

Parameter Type Description
RED integer Red colour from 0 to 255
GREEN integer Green colour from 0 to 255
BLUE integer Blue colour from 0 to 255
Optional
TRANSPARENCY integer Set how much transparency is to be be applied to the colour. From 0 being none to 100 being 100% transparent.

See also