Draw the flag of the United Arab Emirates in the center of the canvas. It is 300 units wide and 200 units high.

  1. Draw a red vertical stripe on the left. It is 75 units wide and as tall as the flag. Use #C8102E.
  2. Divide the remaining 225 units on the right into three equal horizontal stripes. Each stripe is 75 units high.
  3. From top to bottom, color these stripes green (#00843D), white, and black.
  4. Make the colored parts touch without gaps. Set the pen width to 2 units with otto.pensize(2), then draw a black outline around the outside edge of the whole flag. Do not draw lines between the colored parts.

Flag of the United Arab Emirates