Skip to content

Instantly share code, notes, and snippets.

@OtherDevOpsGene
Last active December 8, 2020 14:39
Show Gist options
  • Save OtherDevOpsGene/2dd8262e5d88c3eca170d795962c5a31 to your computer and use it in GitHub Desktop.
Save OtherDevOpsGene/2dd8262e5d88c3eca170d795962c5a31 to your computer and use it in GitHub Desktop.
Changing the color scheme for Windows PowerShell

Changing the color scheme for Windows PowerShell

Install Microsoft ColorTool

Go to microsoft/terminal ColorTool. Download the ColorTool release and extract the zip file.

Download color schemes

Clone mbadolato/iTerm2-Color-Schemes. Copy the contents of the schemes folder into the ColorTool/schemes folder. Keep this page open so you can browse the screenshots to pick a scheme.

git clone https://github.com/mbadolato/iTerm2-Color-Schemes.git

Set the color scheme

Run the ColorTool utility with the name of the scheme file.

& 'C:\Program Files\ColorTool\ColorTool.exe' -b VibrantInk.itermcolors

Without the -b the scheme is only set for the current window, not both the current window and default.

PowerShell will still screw up the screen background color. Right-click the title bar of the PowerShell, choose Defaults, choose the Colors tab, and set the Screen Background color manually, then hit OK. You can do the same for the current window using the Properties instead of Defaults.

For reference, the default PowerShell background is R: 1, G: 36, B: 86. That works well with VibrantInk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment