xxxxxxxxxx
32
/*
Colors
*/
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
noStroke ();
// Integer RGBA notation.
// color 1
fill('rgba(0,255,0,0.25)');
square(0,0,900);
// color 2
fill(0,0,0);
square(80,55,250);
// color 3
fill('rgba(0,255,0,0.25)');
square(105,75,200);
// color 4
fill(0,0,0);
square(125,100,150);
}