Why do many of the flags of African countries have similar colors?
Ethiopia was the only sub-Saharan African country not to be colonized. Since the 19th century its flag has the colors green, yellow, and red. When Ghana became independent, it was inspired by Ethiopia’s resistance to colonization, and took those colors for its own flag. Subsequent African countries used the same colors, as a sign of unity with the other African countries.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
Why do many of the flags of African countries have similar colors?

user
Ethiopia was the only sub-Saharan African country not to be colonized. Since the 19th century its flag has the colors green, yellow, and red. When Ghana became independent, it was inspired by Ethiopia’s resistance to colonization, and took those colors for its own flag. Subsequent African countries used the same colors, as a sign of unity with the other African countries.
assistant