X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 21 people, some anonymous, worked to edit and improve it over time.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 406,925 times.
Learn more...
Are you bored of the plain white text on black background in cmd? If yes then read on to know how to change the text colour and the background colour.
Steps
-
1Press windows + R to open run.
-
2Type 'cmd' (without the quotes) and click ok.Advertisement
-
3Type color z to get the list of all colors and numbers or letters assigned for them. The first letter/number in the command is the colour of the background and the second is the colour of the text.
-
4Type color letter/number to change the text color. Use the letter/number for the color you want. e.g. Type 'color 6' to have yellow text, 'color 4' to have red text, 'color A' to have light green text etc. ( Ignore all quotes )
-
5To change the colour of the text as well as the background, type 'color ce' ( without the quotes ) to have light yellow text on a light red background or any other combination.
Advertisement
Method 1
Method 1 of 1:
Using the GUI
Community Q&A
-
QuestionCan I color certain letters or words?Community AnswerYes. Right click on the tab or image, then go to properties, then go to color and you can change the background color and the letters.
-
QuestionHow do I do this in a specific batch file?FlashlightCommunity AnswerSimply type the same command line code you used into the batch before echoing.
-
QuestionHow do I change my command prompt color to a rainbow color?CaTsArEsOcUtECommunity AnswerI do not think there is a way to change it to rainbow color.
Advertisement
List of Possible Colors
- 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
About This Article
Advertisement