How to Change PowerShell Text and Background Colors

How To Change Powershell Text And Background Colors

🎨 Why Colors Matter
Staring all day at that default navy console is the CLI equivalent of dial-up tones—nostalgic yet painful. A quick palette swap boosts readability, cuts eye-strain, and impresses anyone walking past your screen. Below are multiple routes—from point-and-click menus to registry gymnastics—that let you paint Windows PowerShell (classic console, Windows Terminal, and ISE) in any shade you fancy.


🔹 Fast-Track Options vs. Deep Tweaks

Task Classic Console (powershell.exe) Windows Terminal PowerShell ISE
Change background Right-click title bar → Properties settings.jsonschemes[] Tools → Options → Colors
Change text color Same Properties pane Same schemes[] block Same ISE menu
Import pre-made scheme
Scriptable via $host Limited (profiles)
Per-tab palette

✅ = Built-in · ❌ = Not supported


📋 One-Minute GUI Route (Classic Console)

  1. Launch PowerShell → right-click the title barProperties.
  2. Select the Colors tab 🌈. You’ll see Screen Background, Screen Text, plus Popup counterparts.
  3. Pick a radio button, drag the RGB sliders or enter values directly—Hex nerds welcome.
  4. Hit OK → close console → reopen; changes persist for that shortcut only.

Pro Tip
Pin your customized shortcut to the Taskbar; new windows inherit the palette automatically.


⚙️ Registry-Level Permanence (Advanced)

# Backup current palette
Get-ItemProperty HKCU:\Console | Out-File $env:USERPROFILE\console-backup.reg

# Set teal background & light gray text
Set-ItemProperty HKCU:\Console -Name "ColorTable05" -Type DWord 0x00666666 # Teal BG
Set-ItemProperty HKCU:\Console -Name "ColorTable07" -Type DWord 0x00C0C0C0 # Light Gray FG
  • Log out/in or restart console to see effects.
  • Re-import console-backup.reg any time via Registry Editor.

🚀 Windows Terminal Goodness (Win 10/11)

  1. Open Settings (⌘+, or dropdown ▾).
  2. In Profiles → PowerShell choose Appearance.
  3. Under Color scheme, pick an existing palette or click Add new.
  4. Name it, then set background, foreground, and the 16 ANSI slots.
  5. Save—changes apply instantly per-profile.
// Example snippet for a neon-dark scheme
{
  "schemes": [
    {
      "name": "NeonNight",
      "background": "#0A0F1E",
      "foreground": "#F8F8F2",
      "black": "#000000",
      "blue": "#0087FF",
      "brightBlue": "#00AFFF"
      // …rest of the palette
    }
  ]
}

👑 PowerShell ISE Color Overhaul

  1. Open ISETools → OptionsColors & Fonts.
  2. Change Console Pane Background and Foreground independently from the Editor Pane.
  3. Hit OK → restart ISE. Config stored in %userprofile%\Documents\WindowsPowerShell\ISE.profile.ps1.

Heads-up ⚠️
Windows ISE is in maintenance mode; use VS Code + PowerShell extension for future-proof theming.


🎯 Command-Line Quickies (No GUI)

Goal Snippet Effect
Temp teal BG Write-Host "e[48;2;0;95;95me[38;2;255;255;255m Teal!e[0m”` Colors only this line
Change entire session $Host.UI.RawUI.BackgroundColor = 'DarkCyan'; Clear-Host Lasts until window closes
Auto-apply at launch Add the above to $PROFILE Persistent

🛡️ Keep Your Eyes Happy

  • 🌗 Contrast matters: aim for ΔE ≥ 4.5 between text & background for accessibility.
  • 🌓 Dark theme at night, light theme for sunlight—swap via two profile shortcuts.
  • 📜 Version control your settings.json to sync schemes across machines.
  • 💾 Backup registry before experiments; mis-tinted consoles are annoying, corrupt hives are worse.

🏁 Colorized Finale

Console windows no longer need to look like 1998. Whether you prefer right-click simplicity, JSON precision, or registry alchemy, your PowerShell can now match your brand—or mood—perfectly. Happy theming! 🎨