If you are bored with the usual black and white command window, here is how to add a little colour to it. You can change both the text as well as the background colour easily.
Here are the steps.
- Open up the command window. (Click Start > Run, type cmd or command and hit Enter.)
- In the command prompt type ‘color g’. Note that the command is color and not colour.
- This will show the numbers from 0 to 9 and letters from A to F with the corresponding colours.
- Press any key to continue.
- To change the colour of the text, type ‘color x’ where x is the number/letter corresponding to the colour you want. For example, typing ‘color 6’ will change the text colour to yellow and ‘color 4’ will change the text to red.
- To change the colour of the text as well as the background, you would type ‘color xy’, where the first attribute (x) denotes the colour of the background and the second attribute (y) denotes the colour of the text. For example, to have light yellow text on a red background type ‘color 4e’. The first letter/number is the colour of the background and the second is the colour of the text.
To restore the colours to the default setting type ‘color’ (without any attributes) and hit enter. Also, if you try to set the text and the background to the same colour, it would not work as the color command sets the ERRORLEVEL to 1 and nothing would be changed.
You May Also Be Interested In...
- Creating multiple sub-folders using MKDIR from a command prompt
- Hide any file inside any other file
- Give your Word documents a professional look with Drop Caps
- Spice up your webpages with round cornered CSS boxes
- How to change drive letters in Windows XP
- How to change drive letters in Windows XP
- Easily customize folder colors for quick navigation
- How to correct System Hang at Startup
Subscribe Now
If you enjoyed this post, you will definitely enjoy our others. Subscribe to the feed to get future posts delivered right to your mailbox or feedreader.



