How To Set Color for Tabs in Windows Terminal
If you are using Windows Terminal, you can customize tabs by assigning a unique color for each. Let me show you how to set color for tabs in Windows Terminal app.
Windows Terminal is a new host application for the command-line shells such as Command Prompt, PowerShell, and bash. Learn 3 ways to install Windows Terminal on your Windows PC.
Windows Terminal lets you define your own color schemes, either by using the built-in preset schemes, or by creating your own scheme from scratch. You can customize Windows Terminal in many ways.
When you open multiple tabs within Windows Terminal, each tab has a default background color set to White. To distinguish between the tabs, you can set or assign a unique color for each tab in Windows Terminal. The Windows Terminal app comes with built-in color schemes, and you can read more about these color schemes for Windows Terminal app.
How To Set Color for Tabs in Windows Terminal
Let’s see how you can set color for each tab in Windows Terminal app. Click Start and type ‘Windows Terminal‘ in the search box. Select Terminal and click Open.
On the Windows Terminal app, right-click the default tab and from the list of options, select Color.
You will be presented with default colors that you can assign to Windows Terminal tabs. The default colors in the list include:
- Crimson
- Steel Blue
- Medium Sea Green
- Dark Orange
- Medium Violet Red
- Dodger Blue
- Lime Green
- Yellow
- Blue Violet
- Slate Blue
- Lime
- Tan
- Magenta
- Cyan
- Sky Blue
- Dark Gray
Choose a color for the tab in Windows Terminal app and the background color of the tab changes.
You can customize and set different colors for tabs in Windows Terminal. For example, you can set the first tab color to Red and second tab color to Blue. With this, you can switch between the tabs efficiently when you know what color is assigned for the tab.
Color the Windows Terminal Tab with Custom Color Code
If you don’t want to use the built-in colors for tabs, you can specify a custom color code. Launch the Windows Terminal App, right-click on a tab and select Color. To specify your own color code, select Custom.
The custom color code options include the RGB values that you enter for a specific color. You can also enter the hex color code (HTML color codes) and assign a unique color for the tab in Windows Terminal app.
Is there anyway yet to make this persist between sessions?
Open the settings.json and add a property called tabColor and set the desired value