Each banner was identified by a different color and served as identification in battle and also helped with population registration.
Interestingly, I believe when the Qing took control, the Han made 8 banners for themselves and adopted the banner system. I wonder how this affected the general population and if civilians were also sorted under the han banners