Download ArticleDownload 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. How.com.vn English: Step 1 Press windows + R to open run.
  2. How.com.vn English: Step 2 Type 'cmd' (without the quotes) and click ok.
    Advertisement
  3. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 5 To change the...
    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.
  6. Advertisement
Method 1
Method 1 of 1:

Using the GUI

Download Article
  1. How.com.vn English: Step 1 Open Command Prompt.
  2. How.com.vn English: Step 2 Right-click on the top.
  3. How.com.vn English: Step 3 Click on Properties.
  4. How.com.vn English: Step 4 Go to the Colors tab.
  5. How.com.vn English: Step 5 Select text or background and edit the color values.
    • Play around with the combinations!
  6. How.com.vn English: Step 6 Click ok to apply changes.
  7. Advertisement


Community Q&A

Search
Add New Question
  • Question
    Can I color certain letters or words?
    How.com.vn English: Community Answer
    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?
    How.com.vn English: Flashlight
    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?
    How.com.vn English: CaTsArEsOcUtE
    CaTsArEsOcUtE
    Community Answer
    I do not think there is a way to change it to rainbow color.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      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
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Tested by:
      How.com.vn Technology Team
      How.com.vn 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. This article has been viewed 422,488 times.
      How helpful is this?
      Co-authors: 21
      Updated: March 19, 2016
      Views: 422,488
      Categories: Command Prompt
      Thanks to all authors for creating a page that has been read 422,488 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement