# Three Color Flag

In how many ways can we color the 9 rectangles in the flag below using only the colors green, white, and yellow, such that each color covers $$\frac13$$ of the flag?

×