promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/color

Sets the prompt bar color for the current session.

/color sets the color of the prompt bar for the current session. Available colors are red, blue, green, yellow, purple, orange, pink, and cyan; without an argument, the command picks a random color. default resets the color; since version 2.1.70, gray, reset, and none also work as equivalent reset arguments. If Remote Control is connected to claude.ai/code, the chosen color syncs there as well. Since version 2.1.205, /color can also be used in non-interactive mode (-p), for example in scripts or CI runs. The setting only applies to the current session โ€” it is not saved as a default for future sessions. /color differs from /theme: /theme changes the entire color scheme of the interface, including the light/dark variant, while /color specifically colors just the single prompt bar, to visually distinguish sessions.

โœ… WHEN TO USE IT?

Make several parallel sessions visually distinguishable

/color blue in session A, /color green in session B

Quickly set a random color for the current session

/color without an argument

โ›” WHEN NOT TO?

Expecting the color to apply permanently to all future sessions

/color only sets the color for the current session

Better: set it again at the start of every session, or configure /statusline for permanently visible distinguishing markers

Setting the color non-interactively in a script or CI run, on an older Claude Code version

According to the docs, non-interactive mode (-p) for /color requires version 2.1.205 or newer.

Better: Update Claude Code or set the color interactively instead.

SOURCES

MORE COMMANDS ยท Claude Code

/compact/config/context/copy/cost/dataviz/debug/deep-research/design-login/design-sync/desktop/diff

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ