# CLAUDE_CODE_TMUX_TRUECOLOR

> Any value lets tmux show full color.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_TMUX_TRUECOLOR=1

## Think of it like

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

## 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

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

## 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.

## Why it matters

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

## Common mistake

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

## Three principles

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

## Related terms

- [--tmux Flag](https://learn.benibix.com/term/ai/tmux-flag)
- [/terminal-setup Command](https://learn.benibix.com/term/ai/terminal-setup-command)
- [Terminal](https://learn.benibix.com/term/infrastructure/terminal)

---

Source: https://learn.benibix.com/term/ai/claude-code-tmux-truecolor-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
