For commands running on the Linux Terminal the thing seems to be much easier than Windows Prompt.
That one snippet withdrawn of that website:
echo -e "\e[31mHello World\e[0m"
Causes a Hello World to appear written in red.
For Windows Prompt, I’ll let that answer SOEN because, at least for me, they are very complex commands.
I found the second less confusing, but it leaves a temporary file behind, accepts it as best not answer.
If you already have your choice, the definition of the colors to be used is done through two characters in the argument immediately after the term preceded by a colon.
For this parameter each of the two characters represents a color hexadecimal, the first character being for the color of background and the second to the foreground.
And the colors aren’t all that varied. On that website has a well-readable list of valid options.
I hope it helps you :)
For every solution you try with a batch over the Windows command prompt ("cmd"), there is a 10 times easier way to do the same with Powershell. If you don’t know him, check him out: http://answall.com/a/41957/14584
– Caffé
This answer is already on my favorites, because it always helps me http://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
– Renato Tavares
Accurate reset for windows , some hint ?
– Ewerton Luis
Hello. 
 
 This example works: http://stackoverflow.com/a/7926476/1997073
 
 Very good inclusive!
– Celso Marigo Jr
See if this question answers your search!
– It Wasn't Me