Change the MS DOS Prompt Color

Microsoft Windows have COLOR command to cChanges the MS DOS Prompt window foreground and background colors for the current session. Used without parameters, color restores the default MS DOS Prompt window foreground and background colors.

Syntax
color [fb]

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

Parameters
fb
Sets the foreground f and background g colors. The following tables lists valid hexadecimal digits that you can use as the values for f and g.

Examples
To change the Command Prompt window foreground color to red and background to white, type:

color FC

Tags: , ,

Leave a Reply

Please copy the string X0ePpS to the field below: