tmux set color

C++
# ~/.tmux.conf
set -g default-terminal "screen-256color"
Source

Also in C++: