PDF download Download Article PDF download Download Article

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.

  1. Advertisement
  2. The first letter/number in the command is the colour of the background and the second is the colour of the text.
  3. 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 )
  4. 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.
  5. Advertisement
Method 1
Method 1 of 1:

Using the GUI

PDF download Download Article
    • Play around with the combinations!
  1. Advertisement


Community Q&A

Search
Add New Question
  • Question
    Can I color certain letters or words?
    Community Answer
    Yes. 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.
  • Question
    How do I do this in a specific batch file?
    Flashlight
    Community Answer
    Simply type the same command line code you used into the batch before echoing.
  • Question
    How do I change my command prompt color to a rainbow color?
    CaTsArEsOcUtE
    Community Answer
    I do not think there is a way to change it to rainbow color.
See more answers
Ask a Question
      Advertisement

      Video

      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.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 429,827 times.

      Is this article up to date?

      Advertisement