Overview Version History Q & A Rating & Review
Terminal Colorizer
Automatically assign unique background and foreground colors to each VS Code terminal, so you can tell them apart at a glance.
Features
Each new terminal gets a distinct color automatically
16 built-in color presets (dark backgrounds with readable foregrounds)
Fully customizable color palette via settings
Commands to change, reset, or reapply colors on the fly
Commands
Command
Description
Terminal Colorizer: Change Color
Randomly change the active terminal's color
Terminal Colorizer: Reset Color
Reset to default terminal color
Terminal Colorizer: Reapply Color
Reapply the assigned color (useful after a program resets it)
Settings
Setting
Default
Description
terminalColorizer.enabled
true
Enable/disable automatic color assignment
terminalColorizer.colors
16 presets
Array of { background, foreground } color pairs
Custom colors example
{
"terminalColorizer.colors": [
{ "background": "#1a1a2e", "foreground": "#e0e0e0" },
{ "background": "#1e3a2f", "foreground": "#d4e4d4" },
{ "background": "#2d1b2e", "foreground": "#e0d4e4" }
]
}
How it works
Uses ANSI escape sequences (OSC 10/OSC 11) to set terminal foreground and background colors. Colors are assigned in round-robin order with a random starting offset.
Requirements
VS Code 1.80.0 or later
A terminal emulator that supports OSC 10/11 escape sequences (most modern terminals do)