var r:uint = Math.random()*255; var g:uint = 0; var b:uint = Math.random()*255; var color:uint = r << 16 | g << 8 | b;