Command reference ยท Claude Code
/color
Sets the prompt bar color for the current session.
Sets the prompt bar color for the current session. Colors: red, blue, green, yellow, purple, orange, pink, cyan. 'default' resets it, no argument picks a random color. Synced to claude.ai/code under Remote Control. Also usable non-interactively (-p), requires v2.1.205+.
โ 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 with no argument
โ WHEN NOT TO?
Expecting the color to persist for all future sessions
/color only sets the color for the current session
Better: set it again at the start of each session, or configure /statusline for a persistently visible distinguishing marker
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com