IIRC , soldiers , particularly in war zones, are granted considerable leeway with changes to garments. That includes dyeing them and even so much as carrying just the marks in a pocket.
The garments are symbolic as are the marks. Any reference to ' modesty ' is secondary at best and
an extension to a cultural influence .