In Call of Duty 2 multiplayer, you can add color to your text by placing a code before the message. For example, ^1 makes text red, while ^4 makes it blue.
Here are the common codes:
^1 red, ^2 green, ^3 yellow, ^4 blue, ^5 cyan, ^6 pink, ^7 white, ^8 default map color, ^9 grey or default map color, and ^0 black.
You can combine them within one message to change colors partway through your text.