Each family below shares a pattern. Learn the pattern once and you can place every member.
Nordic crosses
A cross whose upright bar is shifted toward the hoist, the flagpole side. Denmark's flag, the Dannebrog, set the style and is one of the oldest national flags in the world. Norway and Iceland use the same three colours with field and cross swapped.
Denmark
Sweden
Norway
Finland
Iceland
CIA World Factbook, final edition: Denmark, Sweden, Norway, Finland, Iceland
Pan-African colours
Green, yellow and red. The Factbook says these flags use the colours of the Pan-African movement. Layout and the star tell them apart: black for Ghana, green for Senegal, yellow for Cameroon, white on a red square for Togo.
Ghana
Mali
Senegal
Guinea
Cameroon
Togo
Benin
CIA World Factbook, final edition: Ghana, Mali, Senegal, Guinea, Cameroon, Togo, Benin
Pan-Arab colours
Red, white, black and green. Jordan's, Kuwait's and Sudan's flags are based on the Arab Revolt flag of World War I, and the UAE's uses all four pan-Arab colours. Egypt and Iraq take their red, white and black from the Arab Liberation flag.
Jordan
Kuwait
Sudan
United Arab Emirates
Egypt
Iraq
CIA World Factbook, final edition: Jordan, Kuwait, Sudan, United Arab Emirates, Egypt, Iraq
Pan-Slavic colours
White, blue and red. The Factbook calls these the pan-Slav colours on the flags of Slovakia, Croatia and Serbia, and says Russia's 19th-century flag inspired them. Slovenia uses the same colours, which its entry traces to the medieval coat of arms of the Duchy of Carniola.
Russia
Slovakia
Croatia
Serbia
Slovenia
CIA World Factbook, final edition: Russia, Slovakia, Croatia, Serbia, Slovenia
Gran Colombia
Yellow, blue and red bands. Venezuela's entry says its bands and colours come from the flag of Gran Colombia, the South American republic that broke up in 1830. Colombia and Ecuador use the same colours with a double-width yellow band, and Ecuador adds its coat of arms; Venezuela keeps equal bands with an arc of eight white stars.
CIA World Factbook, final edition: Colombia, Ecuador, Venezuela
Blue, white, blue
El Salvador's and Nicaragua's flags are based on the blue-white-blue flag of the former Federal Republic of Central America, and Honduras's five stars stand for that federation's five members. Guatemala also uses light blue, white and light blue, but in vertical bands.
Honduras
El Salvador
Nicaragua
Guatemala
CIA World Factbook, final edition: Honduras, El Salvador, Nicaragua, Guatemala
The UK flag in the corner
The Union Flag, commonly called the Union Jack, has been the basis for a number of other flags. Australia, New Zealand, Tuvalu and Fiji carry it in the upper-left quarter, then add their own stars or shield.
Australia
New Zealand
Tuvalu
Fiji
CIA World Factbook, final edition: United Kingdom, Australia, New Zealand, Tuvalu, Fiji
The Southern Cross
The Southern Cross constellation: white stars on Australia, Papua New Guinea and Samoa, red stars edged in white on New Zealand.
Australia
New Zealand
Papua New Guinea
Samoa
CIA World Factbook, final edition: Australia, New Zealand, Papua New Guinea, Samoa
Crescent and star
A crescent, usually with a star. The Factbook calls them traditional symbols of Islam on several of these flags; on Turkey's it describes them as insignia of the Turkic peoples. Uzbekistan pairs its crescent with 12 stars for the months of its calendar.
Turkey
Tunisia
Algeria
Pakistan
Malaysia
Mauritania
Libya
Uzbekistan
CIA World Factbook, final edition: Turkey, Tunisia, Algeria, Pakistan, Malaysia, Mauritania, Libya, Uzbekistan
Suns and moons
A single disc. Japan's red disc is the sun. Bangladesh's red disc, shifted slightly toward the hoist, is the rising sun. Laos's white disc is the full moon over the Mekong, and Palau's yellow disc, set to the hoist side, is the moon.
CIA World Factbook, final edition: Japan, Bangladesh, Laos, Palau
French-style tricolours
Three vertical bands, the layout of France's tricolore, which dates to 1790. The Factbook says Italy's design was inspired by the French flag Napoleon brought in 1797, Romania's was modelled on it, Côte d'Ivoire's is based on it and Cameroon's is similar.
France
Italy
Romania
Cote d'Ivoire
Cameroon
CIA World Factbook, final edition: France, Italy, Romania, Côte d'Ivoire, Cameroon