Flags have been typically used as rallying elements for the period of battles; troopers may gather around their hues for morale
https://maps.app.goo.gl/fN71ABS56AGMiSRz9
Flags were normally used as rallying features at some point of battles; soldiers could assemble round their colorings for morale aid while confronted with overwhelming odds.