Complex sentence: Branch colors were used for color of chevrons--blue for infantry, yellow for cavalry, and red for artillery.
Split into simpler sentences: Branch colors were used for color of chevrons. Blue for infantry, yellow for cavalry, and red for artillery.