Skip to content
BENIBIX Learn

CLAUDE_CODE_TMUX_TRUECOLOR

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_TMUX_TRUECOLOR=1

Any value lets tmux show full color.

Think of it like

It is like you open the full paint box, not just the small one.

Example

Lucy's theme looked dull inside tmux. She adds the tmux line, sets this, and the colors match her theme.

Why it matters

Themes are made for full color. At 256 colors they can look flat or wrong.

Definition

CLAUDE_CODE_TMUX_TRUECOLOR lets Claude Code use full 24-bit color inside tmux. By default it drops to 256 colors there, because tmux does not pass full color unless told to. Any value turns it on, even 0. Set it only after you allow full color in your tmux config.

Example code

bash
# in ~/.tmux.conf: set -ga terminal-overrides ',*:Tc'
export CLAUDE_CODE_TMUX_TRUECOLOR=1
claude
Full color in tmux, once tmux allows it.

Common mistake

Setting it before tmux allows full color. The colors then come out wrong.

Key takeaways

  1. 1
    Full color in tmux. 24-bit.
  2. 2
    Any value. Even 0.
  3. 3
    Tmux config first. Tc override.