Set your project's Peacock color theme. Supports hex codes, natural language color names, or random selection.
Set your project's Peacock color theme. Supports hex codes, natural language color names, or random selection.
/plugin marketplace add b-open-io/claude-peacock/plugin install peacock@b-open-ioSet your project's Peacock color theme. Supports hex codes, natural language color names, or random selection.
Random vibrant color:
/peacock:change-color
Hex color:
/peacock:change-color #8d0756
/peacock:change-color #2e7d32
Natural language:
/peacock:change-color dark forest green
/peacock:change-color ocean blue
/peacock:change-color deep magenta
Get current working directory to find the project root:
pwd
Store this as PROJECT_DIR.
Extract hex color directly (e.g., "#8d0756")
Map natural language to hex colors using this palette:
Favorites (vibrant):
Dark variants:
Light variants:
Randomly select from favorites palette above.
Convert hex to RGB, then calculate variants:
Activity Bar (lighter): Add 40 to each RGB component, cap at 255
Badge (complementary): Find color wheel opposite - rotate hue by 180° Simple approximation: swap max/min RGB channels
Text color:
# Calculate luminance
L = (0.2126*R + 0.7152*G + 0.0722*B) / 255
# Choose text color
if L < 0.5 then "#e7e7e7" else "#15202b"
Check if .vscode/settings.json exists:
ls .vscode/settings.json 2>/dev/null || echo "not found"
If exists:
jq --arg color "$BASE_COLOR" \
'.["peacock.color"] = $color |
.workbench.colorCustomizations.titleBar.activeBackground = $color |
...' \
.vscode/settings.json > .vscode/settings.json.tmp
mv .vscode/settings.json.tmp .vscode/settings.json
If not exists: Create new file with Peacock configuration:
{
"peacock.color": "<base_color>",
"workbench.colorCustomizations": {
"activityBar.background": "<lighter>",
"activityBar.foreground": "<text_color>",
"activityBarBadge.background": "<complementary>",
"activityBarBadge.foreground": "#e7e7e7",
"statusBar.background": "<base_color>",
"statusBar.foreground": "<text_color>",
"titleBar.activeBackground": "<base_color>",
"titleBar.activeForeground": "<text_color>"
}
}
Output:
✅ Peacock color changed to <hex>
Applied to:
• Title Bar: <base_hex>
• Status Bar: <base_hex>
• Activity Bar: <lighter_hex>
• Badges: <complementary_hex>
Reload VSCode to see changes:
Cmd+Shift+P → "Developer: Reload Window"
The Claude Code statusline will update automatically on next refresh.