When you are a student of programming in windows or a user. Probably you want to chance the looking color of windows command prompt by changing the default background color, right? It has default color setting is (background – black) & (foreground – white).
In this post, I will show you the process of how to change background and foreground color of windows command prompt option using the color command.
So, let’s see the tutorial, how can you change the color of command prompt uses bellow codes and ‘Color’.
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
By using these codes you can able to change the command prompt potion color even prevent various color.
First, you just decided which color you use. Very simple, just input the color codes to the command. Here you remember one line is first codes for the background and second for the foreground.
For example, If you want to use a red background with light yellow for text, you should run the below command.
color 4E
Command prompt look like below in windows after using the codes and command.