Change Colours in Command Prompt

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

  1. Press windows + R to open run.
  2. Type 'cmd' (without the quotes) and click ok.
  3. Type 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.
  4. Type 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 )
  5. To 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.

Using the GUI

  1. Open Command Prompt.
  2. Right-click on the top.
  3. Click on Properties.
  4. Go to the Colors tab.
  5. Select text or background and edit the color values.
    • Play around with the combinations!
  6. Click ok to apply changes.



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

Tips

  • Be careful of the spellings of 'color' and do not type 'colour'. Otherwise it will not work.

Related Articles