This guide walks you through changing the color scheme of the PowerShell console in Windows 10, letting you customize the background, text, and accent colors to reduce eye strain or match your aesthetic. You’ll need a Windows 10 PC with PowerShell installed (it comes preinstalled) and permission to change system settings.
What You’ll Need
- Windows 10 with PowerShell (any version, including PowerShell 5.1 or PowerShell 7)
- Administrator rights (only if you want to change the default for all users; not required for your own profile)
Step-by-Step
- Open PowerShell. Click the Start button, type
powershell, and press Enter. You can also right-click Start and select “Windows PowerShell” or “Windows Terminal” if you have it installed. - Open the Properties window. Right-click the title bar of the PowerShell window (the very top edge) and select Properties from the context menu. This opens the console properties dialog.
- Go to the Colors tab. In the Properties dialog, click the Colors tab at the top. You’ll see sections for Screen Background, Screen Text, and Popup Background/Text.
- Choose a background color. Under “Screen Background,” click a preset color swatch (like blue, red, or green) or click “Selected Color Value” to enter custom RGB values. For example, to get a dark gray, set Red=30, Green=30, Blue=30. You can also use the color slider and luminosity bar to pick a custom shade.
- Set the text color. Under “Screen Text,” pick a contrasting color. For a dark background, white or light gray (e.g., 220,220,220) works well. Click the swatch or enter RGB values manually.
- Adjust popup colors (optional). The “Popup Background” and “Popup Text” colors affect dialog boxes that appear within PowerShell (like the “Get-Help” window). You can leave these as default or match them to your scheme.
- Apply and save. Click OK to apply the changes. The colors will change immediately. If you want to make the change permanent for all future PowerShell windows, you must also modify the shortcut or registry (see Tips).
- Test the new scheme. Type a command like
Get-Processto see how the output looks. If the colors are hard to read, go back to Properties and adjust until you’re comfortable.
Common Mistakes
- Changing the wrong window. If you open PowerShell from a different shortcut (e.g., the Start menu vs. a pinned taskbar icon), the color settings may not apply to all instances. You need to set properties for each shortcut you use.
- Using low-contrast colors. Dark blue text on a black background is nearly invisible. Always test readability after applying.
- Forgetting to click OK. Some users close the dialog with the X button, which discards changes. Always click OK to save.
- Overwriting the default color scheme. If you want to revert later, note your original RGB values or use “Defaults” button in the Colors tab to reset.
Tips
- Use a preset scheme. For a classic dark theme, set background to RGB (0, 36, 73) and text to white. For a light theme, use white background with black text.
- Make it permanent for all windows. To apply colors to every PowerShell window you open, you can edit the registry. Open
regedit, navigate toHKEY_CURRENT_USER\Console, and modify theColorTable00(background) andColorTable07(text) values. This is advanced; the Properties method is safer for most users. - Use Windows Terminal for more options. If you have Windows Terminal (available in the Microsoft Store), you can create custom color schemes with JSON settings, including transparency and gradient effects. This is a more flexible alternative.
- Export your settings. After customizing, you can export the registry key
HKEY_CURRENT_USER\Consoleto a .reg file to back up or share your scheme.
Troubleshooting
- Colors don’t change after clicking OK. Make sure you are editing the correct shortcut. If you launched PowerShell from the Start menu, right-click the Start menu icon and select “Properties” again. Also, close and reopen PowerShell to see if the changes take effect.
- Colors revert to default after restart. This happens if you only changed the window properties for the current session. You need to modify the shortcut properties (right-click the shortcut → Properties → Colors) or edit the registry to make it stick.
- Can’t see the Colors tab. If you are using Windows Terminal, the Properties dialog is different. In Windows Terminal, press
Ctrl+,to open settings, then edit the color scheme JSON. The classic console properties only apply to the legacy conhost window. - Text is blurry or hard to read. Try increasing the font size (Properties → Font tab) or use a higher contrast text color. Also, disable “Use legacy console” if it’s enabled (Properties → Options tab).
- Colors apply but only in one window. Each PowerShell window has its own properties unless you set them at the shortcut level. Right-click the shortcut (e.g., in Start menu) and set properties there to affect all windows opened via that shortcut.
Frequently Asked Questions
- Can I set different colors for different PowerShell profiles? Yes, but you need to create separate shortcuts or use Windows Terminal profiles. In classic PowerShell, the color scheme is per-shortcut, so you can have multiple shortcuts with different colors.
- Does changing the color scheme affect the PowerShell ISE? No, the ISE has its own color settings under Tools → Options → Environment. The console color scheme only affects the regular PowerShell window.
- How do I reset PowerShell colors to default? Open Properties → Colors tab and click “Defaults” button, then OK. Or delete the
HKEY_CURRENT_USER\Consoleregistry key (back it up first). - Can I use a hex color code? The classic console Properties only accepts RGB values (0-255). Windows Terminal accepts hex codes in the JSON settings, e.g.,
"background": "#1E1E1E". - Why do my colors look different in Windows Terminal? Windows Terminal uses its own color scheme, separate from the legacy console. To change colors there, edit the profile’s color scheme in settings (Ctrl+,).
- Will changing colors affect my PowerShell scripts? No, colors are purely cosmetic. They don’t affect script execution or output formatting.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Move Data to a New Samsung Galaxy Phone
- Pixel C vs Surface Pro: Key Differences
- iPhone X vs iPhone: Key Differences Explained
- Chromebook Won’t Charge: How to Fix
- How to Delete Photos on Google Drive
- Firefox Bookmark Management Tips & Tricks