The flag of Brazil is a blue disc showing a starry sky, including the Southern Cross, crossed by a curved band bearing the national motto Ordem e Progresso, set within a yellow rhombus on a green field. It was officially adopted on 19 November 1889, four days after the Proclamation of the Republic, replacing the flag of the Empire of Brazil. Its design keeps the green field and yellow rhombus of the imperial flag while changing the central emblem, and its star count is updated by law as Brazil's federal units change.
Origins and Imperial Flag


Before independence, Portuguese territories in the Americas had no official flag of their own, and ships used Portuguese symbols such as the armillary sphere. After independence, Pedro I's Royal Standard became the flag of the Empire of Brazil, with its imperial coat of arms set in a yellow rhombus on a green field. The green and yellow represented the dynastic houses of Pedro I and his consort Maria Leopoldina of Austria.
Adoption of the Republican Design


When the Republic was proclaimed, Ruy Barbosa proposed a design inspired by the flag of the United States, but marshal Deodoro da Fonseca vetoed it as too similar to another country's flag. Fonseca wanted continuity with the imperial flag, so a design by Raimundo Teixeira Mendes, Miguel Lemos, Manuel Pereira Reis and Décio Villares replaced the coat of arms with a blue celestial globe and the positivist motto.
Changes to the Stars


The flag originally had 21 stars, each representing a federal unit and sized according to the apparent magnitude of its real star. Stars were added in 1960, 1968 and 1992 as new states were created, bringing the total to 27. Changes were not always made promptly, so there were periods when the number of stars did not match the number of states.
