fill(r, g, b, [a]);
Set the fill color for shapes
Arguments
r
The red byteg
The green byteb
The blue byte[a]
The alpha byteCan also accept a hexadecimal or color name as string
fill(255, 150, 40);
square(200, 200, 64);
fill(r, g, b, [a]);
Set the fill color for shapes
r
The red byteg
The green byteb
The blue byte[a]
The alpha byteCan also accept a hexadecimal or color name as string
fill(255, 150, 40);
square(200, 200, 64);