This should solve all issues:
None - Trooper
Light green - Sergeant; command squads, made of 9 troops
Blue - Lieutenant; command platoons, made of 36 troops (4 squads)
Red - Captain; command companies, made of 144 troops (4 platoons)
Yellow - Commander, tasked with leading regiments of clones (2,304 in total, 16 companies)
http://en.wikipedia.org/wiki/Clone_troopers)