Help Contents / Graphics / Direct Graphics / RGBA

RGBA red green blue alpha

outputs an integer color of the format 

red:8 green:8 blue:8 alpha:8 bits 

from the four parameters between 0 and 1. Alpha is used for transparency - 0 is transparent. 

Examples: 

	hex RGBA 0.5 0.25 0 1		;FF003F7F  ;-) 
	cs 
	repeat 200 ~ 
	[	setPC RGBA 0 0 0 repCount/200 
		box 
		rt 30 fd 1 lt 30 
	] 


previous: RGB	next: reRGB
