How to Change Color in Windows Terminal
In this article
To change the color scheme in Windows Terminal, open the Settings (Ctrl+,), go to the color scheme dropdown in your profile's Appearance section, and pick a preset. You can also create your own custom scheme by editing the JSON settings file. This guide covers both methods, plus how to set a default scheme for all profiles.
What You'll Need
- Windows Terminal installed (it comes with Windows 11 and is available via the Microsoft Store for Windows 10).
- Basic familiarity with opening a terminal window.
- Optional: a text editor like Notepad for editing the settings JSON if you want custom colors.
Step-by-Step
Method 1: Change the Color Scheme via the UI (Easiest)
- Open Windows Terminal. You can do this by pressing Win and typing "Terminal", then pressing Enter.
- Click the down arrow (chevron) next to the new tab button (the + sign) in the title bar. This opens the dropdown menu.
- Select Settings from the dropdown. Alternatively, press Ctrl+, (comma) to open Settings directly.
- In the Settings window, you'll see a sidebar on the left. Click on the profile you want to change (e.g., "Windows PowerShell", "Command Prompt", or any custom profile).
- In the profile's settings, look for the Appearance section. Scroll down until you find Color scheme.
- Click the dropdown next to Color scheme. You'll see a list of built-in schemes like "Campbell", "One Half Dark", "Tango Dark", etc.
- Select a scheme. The terminal will preview the change immediately in the background (if you have the Settings window open side-by-side).
- Click Save at the bottom right of the Settings window to apply the change.
Method 2: Change the Default Color Scheme for All Profiles
- Open Settings as above (Ctrl+,).
- In the sidebar, click Defaults (the first item at the top).
- Scroll down to the Appearance section.
- Find the Color scheme dropdown and select the scheme you want as the default.
- Click Save. This sets the scheme for any profile that doesn't have its own override.
Method 3: Create a Custom Color Scheme (Editing JSON)
- Open Settings (Ctrl+,).
- Click the Open JSON file button at the bottom left of the Settings window. This opens the settings.json file in your default text editor (usually Notepad).
- In the JSON file, find the
"schemes"array. It might be empty ("schemes": []) or contain existing custom schemes. - Add a new scheme object inside the array. Here's a minimal example that you can copy and paste, then modify the color values:
"schemes": [
{
"name": "My Custom Scheme",
"foreground": "#FFFFFF",
"background": "#0C0C0C",
"cursorColor": "#FFFFFF",
"colors": [
"#0C0C0C", "#C50F1F", "#13A10E", "#C19C00",
"#0037DA", "#881798", "#3A96DD", "#CCCCCC",
"#767676", "#E74856", "#16C60C", "#F9F1A5",
"#3B78FF", "#B4009E", "#61D6D6", "#F2F2F2"
]
}
]
- Replace the hex color codes (like
#FFFFFF) with your own. Thecolorsarray has 16 entries: the first 8 are the standard ANSI colors (black, red, green, yellow, blue, magenta, cyan, white) and the last 8 are the bright variants. - Save the JSON file (Ctrl+S in Notepad).
- Go back to the Windows Terminal window. The new scheme should appear in the Color scheme dropdown in the profile's Appearance settings. Select it and click Save.
Common Mistakes
- Forgetting to click Save – The UI changes don't apply until you hit the Save button. Many users change the scheme and close the window, wondering why nothing happened.
- Editing the wrong profile – If you change the color scheme in the "Defaults" section, it applies to all profiles, but individual profiles can override it. If you change a specific profile and it doesn't look right, check that the profile doesn't have its own scheme set.
- Invalid JSON syntax – When editing the JSON file, a missing comma, an extra brace, or a trailing comma after the last item will cause the file to be invalid. Windows Terminal will show an error and may revert to default settings. Always validate your JSON before saving.
- Using wrong color format – Windows Terminal expects hex colors like
#RRGGBB. Using named colors (like "red") or 3-digit hex won't work.
Tips
- To quickly see how a scheme looks, open the Settings window and drag it to the side so you can see the terminal behind it. The preview updates live as you hover over different schemes in the dropdown.
- If you want a scheme to apply to all profiles, set it in Defaults rather than each profile individually. This is easier to maintain.
- You can also set a different cursor color, selection background, and other colors in the JSON scheme object. For example, add
"selectionBackground": "#FFFFFF"to change the highlight color. - Use online color palette tools to generate a cohesive set of 16 ANSI colors. Many popular schemes (like Dracula, Solarized, Nord) are available as ready-made JSON snippets – you can copy them into your schemes array.
- If you mess up the JSON, Windows Terminal has a built-in fallback. It will show an error and offer to open a fresh settings file. You can always restore the default by deleting the settings.json file (it will be recreated on next launch).
Troubleshooting
- Changes don't appear after saving – Make sure you clicked Save in the Settings UI. If you edited the JSON, close and reopen the terminal or press Ctrl+Shift+P and select "Reload" to refresh the settings.
- JSON file won't open or shows an error – If you get a parse error, the file has invalid JSON. Open the file in a JSON validator (like jsonlint.com) to find the issue. Common problems: missing commas between objects, extra commas after the last item, or unescaped quotes.
- Custom scheme doesn't appear in the dropdown – After saving the JSON, the scheme should appear immediately. If not, close and reopen the Settings window. Also make sure the scheme name is unique and the JSON is valid.
- Colors look washed out or wrong – Check that your hex codes are in the correct format (#RRGGBB) and that you haven't accidentally swapped foreground and background. Also, some themes (like Windows 10's default) may have transparency effects that alter perceived colors – check the opacity setting in Appearance.
- Reset to default – If you want to start over, delete the entire
schemesarray from the JSON, or remove the custom scheme object. The built-in schemes (Campbell, etc.) will remain.
Frequently Asked Questions
Can I change the color of the terminal background only?
Yes. In the JSON scheme, set the background property to any hex color. You don't need to change the other colors if you only want the background.
How do I make the color scheme apply to all profiles at once?
Go to Settings > Defaults > Appearance > Color scheme and select the scheme there. This acts as the base for every profile unless a specific profile overrides it.
Can I import a color scheme from another terminal (like VS Code)?
Yes, if you can get the ANSI color values (16 colors) and the foreground/background, you can paste them into the JSON scheme object. Many popular schemes are shared as Windows Terminal JSON snippets.
Why does my terminal still show old colors after I changed the scheme?
Make sure you saved the settings. Also, if you have multiple profiles, check that you changed the correct one. If you're using a custom scheme, verify it's selected in the profile's Appearance settings.
Is there a keyboard shortcut to cycle through color schemes?
No, there is no built-in shortcut to cycle schemes. You have to open Settings to change it. However, you can use the command palette (Ctrl+Shift+P) and type "color scheme" to quickly jump to the setting.
Can I set different colors for each tab?
No, Windows Terminal applies the color scheme per profile, not per tab. If you want different colors in different tabs, you can create multiple profiles (each with its own scheme) and open tabs with those profiles.