/* 6.914, Example 0.2 There are two ways to make colors. If you only want shades of grey, use a single argument - one number between 0 and 255. You will get a color between black and white. 0 -- black 100 -- dark grey 200 -- light grey 255 -- white If you want to use RGB colors, use three numbers in the range [0,255]: one for red, one for green, and one for blue. 0, 0, 0 -- black 100, 100, 100 -- dark grey 255, 255, 255 -- white 255, 0, 0 -- red 0, 255, 0 -- green 0, 0, 255 -- blue 255, 255, 0 -- yellow 255, 0, 255 -- pink 0, 255, 255 -- cyan */ void setup(){ size(300, 400); // window is 300 x 400. background(0); // this will give you a black background. }