契丹
In the Liao and Song periods, the Khitan people used the same flag design, as depicted in Chinese painting. During the reign of the Mongol Yuan dynasty the five colors started to symbolize ethnicities () in a multiethnic state.