Show and copy current project color
Display the current project's Peacock color and copy it to clipboard. Use this to quickly reference or share your project's color theme.
/plugin marketplace add b-open-io/claude-peacock/plugin install peacock@b-open-ioDisplay the current project's Peacock color and copy it to clipboard. Matches VSCode Peacock extension's showAndCopyCurrentColor command.
/peacock:show-current
Check for .vscode/settings.json:
ls .vscode/settings.json 2>/dev/null || echo "not found"
If not found:
ℹ️ No Peacock color set
This project doesn't have a Peacock color configured.
Set one:
/peacock:change-color #8d0756
/peacock:random-color
Stop execution.
Extract color:
jq -r '.["peacock.color"] // empty' .vscode/settings.json
If empty, show same message above.
Store as CURRENT_COLOR.
Get complementary colors if they exist:
jq -r '.workbench.colorCustomizations.titleBar.activeBackground // empty' .vscode/settings.json
jq -r '.workbench.colorCustomizations.activityBar.background // empty' .vscode/settings.json
jq -r '.workbench.colorCustomizations.statusBar.background // empty' .vscode/settings.json
Copy the base color to clipboard:
echo -n "$CURRENT_COLOR" | pbcopy
(On non-macOS, this command may fail gracefully)
Output:
🎨 Current Peacock Color
Base Color: <hex>
RGB: (<r>, <g>, <b>)
Applied to:
• Title Bar: <hex>
• Status Bar: <hex>
• Activity Bar: <lighter_hex>
✅ Color copied to clipboard!
Modify:
/peacock:darken - Make darker
/peacock:lighten - Make lighter
/peacock:save-favorite - Save to favorites
Reset:
/peacock:reset-colors
If copy failed (non-macOS):
🎨 Current Peacock Color
Base Color: <hex>
RGB: (<r>, <g>, <b>)
Applied to:
• Title Bar: <hex>
• Status Bar: <hex>
• Activity Bar: <lighter_hex>
Copy this color: <hex>
</instructions>