The national flag of Ecuador, which consists of horizontal bands of yellow (double width), blue and red, was first adopted by law in 1835 and later on 26 September 1860. The design of the current flag was finalized in 1900 with the addition of the coat of arms in the center of the flag. Before using the yellow, blue and red tricolor, Ecuador used white and blue flags that contained stars for each province of the country. The design of the flag is very similar to those of Colombia and Venezuela, which are also former constituent territories of Gran Colombia. All three are based on a proposal by Venezuelan General Francisco de Miranda, which was adopted by Venezuela in 1811 and later Gran Colombia with some modifications. There is a variant of the flag that does not contain the coat of arms that is used by the merchant marine. This flag matches Colombia's in every aspect, but Colombia uses a different design when her merchant marine ships are at sail. Along with Haiti, Afghanistan, Bolivia, Costa Rica, the Dominican Republic, El Salvador, and Venezuela, it is one of only eight national flags whose design incorporates a depiction of the flag itself.
Source: Wikipedia