The Pan-Arab colors are black, white, green, and red. Individually, each of the four Pan-Arab colors were intended to represent a certain Arab dynasty, or era. The black was the Abbasid dynastic color; white was the Umayyad dynastic color; green was the Fatimid dynastic color; and red was the Hashemite dynastic color and also represented the Ottoman Empire. The four colors derived their potency from a verse by 14th century Iraqi poet Safi al-Din al-Hilli: "White are our acts, black our battles, green our fields, and red our swords".
Pan-Arab colors were first combined in 1916 in the flag of the Arab Revolt, designed by the British diplomat Sir Mark Sykes. Many current flags are based on Arab Revolt colors, such as the flags of Jordan, Kuwait, Palestine, the Sahrawi Arab Democratic Republic, and the United Arab Emirates, and formerly in the flag of the brief (six month) union of the Arab Federation of Iraq and Jordan.
From the 1950s onwards, a sub-set of the Pan-Arab colors, the Arab Liberation colors, came to prominence. These consist of a tricolor of red, white and black bands, with green given less prominence. The Arab Liberation colors were inspired by the use of the Arab Liberation Flag in the Egyptian Revolution of 1952.[full citation needed] These appear in the current flags of Egypt, Iraq, Sudan, Syria, and Yemen, and formerly in the flags of the rival states of North Yemen and South Yemen, and in the short-lived Arab unions of the United Arab Republic and the Federation of Arab Republics.
North Yemen (1962–90)
Flag of Hadhramaut (1967–69)
Mahra Sultanate (1895–1967)
Arab Islamic Republic (proposed 1974, never implemented)
Flag of Ottoman era Istanbul-based autonomist "Arab Literature Club" (1909–15), a precursor Arab flag
Flag of the Ba'ath Party (1947–present), also used by the National Democratic Front for the Liberation of Oman and the Arabian Gulf (active 1969–71)
Flag of the National Liberation Front of Yemen (1963–78), the Dhofar Liberation Front (1965–68), and the Popular Front for the Liberation of the Occupied Arabian Gulf (1968–74)
Flag of the Popular Front for the Liberation of Oman (1974–92)
Flag of the Arab Movement of Azawad (2012–present)
Flag of Arab Jerusalem
Flag of the Syrian Salvation Government
Green dynastic color, used by the Fatimids 
The designs of these flags were later modified, but the four pan-Arab colors were retained and were adopted by Transjordan (1921), Palestine (1922), Kuwait (1961), the United Arab Emirates (1971), Western Sahara (1976) and Somaliland (1996).