- Colors are applied to shapes using background, fill, stroke
- It can take the values from 0 -255
- where 0 - black and 255 is white
- It can also take RGB values where R=Red, G=Green, B=Blue
- Each can vary from 0 to 255
- Use Tools -> Color Selector to get RGB values
- you can also control the transparency by setting the value between 0 (transparent) - 255(opaque)
size(500, 375);
smooth();
fill(0,0,200, 50)
quad(10, 10, 480, 20, 360, 360, 20, 350)