How to change team colors?

Hello. I want to make my map have custom colors for each team. How can this be done? I know it is possible because using the "color me stupid" cheat in campaign mode gives you more than the default multiplayer colors... I want to have green, tan, white, black, dark blue, dark red, and a few other custom colors.