Flag Of Italy


  // Italian Flag
  
  // Reference: http://en.wikipedia.org/wiki/Flag_of_Italy#Protocol
  
  int kHeight = 300; // The only number that needs changing
  size(kHeight*3/2, kHeight);
  
  color greenColor = color(0,146,70);     // Fern Green
  color whiteColor = color(241,242,241);  // Bright White
  color scarletColor = color(206,43,55);  // Flame Scarlet
  
  smooth();
  noStroke();
  
  float stripeWidth = width/3.0;
  
  fill(greenColor);
  rect(0,0, stripeWidth, height);
  
  fill(whiteColor);
  rect(stripeWidth,0, stripeWidth, height);
  
  fill(scarletColor);
  rect(stripeWidth*2,0, stripeWidth, height);