Open the command prompt
Click on the "C:\" icon beside "Command Prompt" on the title bar.
Click on Default and then the Colors tab.

Dani AI

Generated

Good pointers already in this thread — covered the GUI route, and / pointed out the builtin command; ’s mention of hex digits is useful. The notes below fill gaps: what the hex codes mean, how to make changes stick, modern alternatives (Windows Terminal / PowerShell), and a few troubleshooting tips.

Quick color reference (hex → color):

0 = Black        8 = Gray
1 = Blue         9 = Light Blue
2 = Green        A = Light Green
3 = Aqua         B = Light Aqua
4 = Red          C = Light Red
5 = Purple       D = Light Purple
6 = Yellow       E = Light Yellow
7 = White        F = Bright White

Notes and practical points drawn from the replies here

  • Session vs. persistent: the console command changes only the current session. The console’s Defaults (when present) or per-application settings in the registry under HKCU\Console are used to make settings apply to new windows. ’s GUI route is the easiest way to set a permanent default for new consoles.
  • Modern terminals: on Windows 10/11, Windows Terminal (or third-party apps like ConEmu/cmder) supports named color schemes, true color, acrylic/transparency, and per-profile persistence — prefer those for richer themes and tabs. ’s hint about swapping shells points in this direction.
  • PowerShell tip (persist in profile): add a few lines to the PowerShell profile to set session colors and then clear the screen. For example:
$Host.UI.RawUI.BackgroundColor = 'DarkBlue'
$Host.UI.RawUI.ForegroundColor = 'White'
Clear-Host

Troubleshooting and accessibility

  • If changes don’t “stick”, check for Group Policy or a per-executable registry key overriding defaults.
  • Avoid low-contrast pairs (e.g., red on blue) for readability and accessibility.
  • If an app messes with the palette, closing and reopening the console usually restores the configured scheme.

These points tie the simple tips already posted into practical, persistent, and modern workflows.

Recommended Answers

All 10 Replies

Properties also will do the same thing. lol. What a simple tweak. Good looking out (=
Step it up to litestep and do a nice edit to your sexy shell.
Litestep.net

really! really...?!?

You can also change the color of the text and background by using the color command inside of DOS. Use color /? to see all options

color command works

right click on toolbar & properties also works

Rathour

Member Avatar for Member #900868

Do open run>cmd>ok
type color 06
and see what happens .
You can also tries [01] [02] [fc] [cd] ... and any combination like 0 to 6 or a to f

plz comment
[email]KumarUtkarsh@<DaniWEB.com[/email]>

thanx.kumar....it really works

Come on! Its something every computer user (If atleast advanced enough to use CMD) will check out themself.....

Do open run>cmd>ok
type color 06
and see what happens .
You can also tries [01] [02] [fc] [cd] ... and any combination like 0 to 6 or a to f

plz comment
[email]KumarUtkarsh@<DaniWEB.com[/email]>

Judging by this thread, you should have posted that as a thread itself, i was cool...

In any case thanks for sharing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.