change color of command prompt
If you are bored with common DOS black color, you can change it with different one. There is a command “color” in DOS to set color of DOS. If you type “help color” in cmd you will see that there are value lies between 0 to 9 and some character from A to F. actually this is range of color attribute, specified by two hex digits. The first corresponds to the background; the second for ground. So, you can change DOS color by changing in color value.
Color value is given bellow:
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 = Light White
Suppose you want to change DOS background color with green and character color by yellow then execute “color 2E” in cmd. First digit 2 will change background color green and second digit E will change character color to yellow.
Color value is given bellow:
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 = Light White
Suppose you want to change DOS background color with green and character color by yellow then execute “color 2E” in cmd. First digit 2 will change background color green and second digit E will change character color to yellow.
Comments