Change Color In Command Prompt

Changing the color in Command Prompt can be done with a single command. The color command makes it easy to quickly change the default background and text color. Works in Windows 2000, XP, Vista, 7 and 8.

color [attr]

Write color + color attribute. The attribute are specified by two hex digit, the first being the background, second being the text color.

0 = Black
1 = Blue
2 = Green
3 = Aqua
4 = Red
5 = Purple
6 = Yellow
7 = White
8 = Gray
9 = Light Blue
A = Light Green
B = Light Aqua
C = Light Red
D = Light Purple
E = Light Yellow
F = Bright White

To make the background aqua and text color red the command would be “color 34”

To reset the colors back to the original simply write “color” with no arguments.

Posted in Tips and Tricks, Windows Tagged with: ,