五行思想
Both Huangdi and Yandi are considered in some sense ancestral to Chinese culture and people. Also, the tradition of associating a certain color with a particular dynasty may have begun with the Flame Emperors. According to the Five Elements, or Wu Xing model, red, fire, should be succeeded by yellow, earth—or Yandi by Huangdi.