TerminalColors

1.0.0

Colours the Windows Terminal tab, title bar and window border according to the current directory. Automatically reuses the colours you already defined with Peacock (VS Code) and Solution Colors (Visual Studio), or a source-controllable .terminalcolors.json file. No third-party tool and no background process: OSC 11 drives a Windows Terminal theme that binds both the t
Colours the Windows Terminal tab, title bar and window border according to the current directory. Automatically reuses the colours you already defined with Peacock (VS Code) and Solution Colors (Visual Studio), or a source-controllable .terminalcolors.json file. No third-party tool and no background process: OSC 11 drives a Windows Terminal theme that binds both the tab and the window frame to the pane background, while an opaque backdrop keeps the pane readable so the tab can take the colour undiluted.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name TerminalColors

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name TerminalColors

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Cedric Dupont. MIT License.

Package Details

Author(s)

  • Cedric Dupont

Tags

WindowsTerminal Terminal Color Colour Tab Peacock SolutionColors Git Prompt Windows DeveloperExperience

Functions

Enable-TerminalColors Disable-TerminalColors Test-TerminalColorsEnabled Update-TerminalColor Reset-TerminalColor Get-TerminalColor Clear-TerminalColorCache Set-FolderColor Remove-FolderColor Install-TerminalColors Uninstall-TerminalColors Install-TerminalColorsTheme Uninstall-TerminalColorsTheme Install-TerminalColorsBackdrop Uninstall-TerminalColorsBackdrop Test-TerminalColorsBackdrop Install-TerminalColorsTitleBar Uninstall-TerminalColorsTitleBar Test-TerminalColorsTitleBar Install-TerminalColorsProfile Uninstall-TerminalColorsProfile Test-TerminalColorsProfile Invoke-TerminalColorsDoctor

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Full changelog: https://github.com/ceddup/TerminalColors/blob/main/CHANGELOG.md

1.0.0 - First release. The selected tab and the window border take the colour of the current project, in full strength, while the pane you read text in stays exactly as it was; background tabs keep their own colour and the tab row is left untouched. Colours come from .terminalcolors.json, Peacock (VS Code), Solution Colors (Visual Studio) or a stable hash of the Git repository name, nearest ancestor winning. Setup: Install-Module TerminalColors, then Install-TerminalColors - or install.ps1 from a clone. Uninstall-TerminalColors undoes all of it.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 10 7/30/2026