Gruvbox is a retro groove color scheme with hard contrast and earthy tones. It’s designed to be easy on the eyes and comes in both dark and light variants.
Quick setup
For a quick setup with Gruvbox colors, add the following to your tmux configuration:
set -g @dracula-colors "
# simple gruvbox Color Pallette
white='#EBDBB2'
gray='#32302F'
dark_gray='#282828'
light_purple='#B16286'
dark_purple='#504945'
cyan='#689D6A'
green='#98971A'
orange='#D65D0E'
red='#CC241D'
pink='#D3869B'
yellow='#D79921'
"
This configuration uses the Gruvbox dark color scheme, which provides excellent contrast in dark environments.
Full Gruvbox palette
For complete customization, you can use the full Gruvbox color palette and customize widget colors accordingly.
Dark variant
# === colors ===
# --- muted ---
muted_back="#282828"
muted_red="#CC241D"
muted_green="#98971A"
muted_yellow="#D79921"
muted_blue="#458588"
muted_purple="#B16286"
muted_aqua="#689D6A"
muted_orange="#D65D0E"
muted_fore="#A89984"
# --- strong ---
strong_back="#928374"
strong_red="#FB4934"
strong_green="#B8BB26"
strong_yellow="#FABD2F"
strong_blue="#83A598"
strong_purple="#D3869B"
strong_aqua="#8EC07C"
strong_orange="#FE8019"
strong_fore="#EBDBB2"
# === backgrounds ===
back_0_hard="#1D2021"
back_0_soft="#32302F"
back_1="#3C3836"
back_2="#504945"
back_3="#665C54"
back_4="#7C6F64"
fore_0_hard="#FBF1C7"
fore_0_soft="#FBF1C7"
fore_1="#EBDBB2"
fore_2="#D5C4A1"
fore_3="#BDAE93"
fore_4="#A89984"
The Gruvbox dark palette includes:Muted colors - Primary accent colors
- Red:
#CC241D
- Green:
#98971A
- Yellow:
#D79921
- Blue:
#458588
- Purple:
#B16286
- Aqua:
#689D6A
- Orange:
#D65D0E
Strong colors - Brighter accent variants
- Red:
#FB4934
- Green:
#B8BB26
- Yellow:
#FABD2F
- Blue:
#83A598
- Purple:
#D3869B
- Aqua:
#8EC07C
- Orange:
#FE8019
Backgrounds - Various background shades
- Hard:
#1D2021
- Soft:
#32302F
- Back 1-4: Progressive lighter shades
Foregrounds - Text and foreground colors
- Multiple shades from
#FBF1C7 to #A89984
Light variant
# === colors ===
# --- muted ---
muted_back="#FBF1C7"
muted_red="#CC241D"
muted_green="#98971A"
muted_yellow="#D79921"
muted_blue="#458588"
muted_purple="#B16286"
muted_aqua="#689D6A"
muted_orange="#D65D0E"
muted_fore="#7C6F64"
# --- strong ---
strong_back="#928374"
strong_red="#9d0006"
strong_green="#79740E"
strong_yellow="#B57614"
strong_blue="#076678"
strong_purple="#8F3F71"
strong_aqua="#427B58"
strong_orange="#AF3A03"
strong_fore="#3C3836"
# === backgrounds ===
back_0_hard="#F9F5D7"
back_0_soft="#F2E5BC"
back_1="#EBDBB2"
back_2="#D5C4A1"
back_3="#BDAE93"
back_4="#A89984"
fore_0_hard="#282828"
fore_0_soft="#282828"
fore_1="#3C3836"
fore_2="#504945"
fore_3="#665C54"
fore_4="#7C6F64"
Applying the theme
To apply the Gruvbox theme:
- Choose your preferred variant (dark or light)
- Add the color palette to your
~/.tmux.conf:
Simple (recommended)
Full palette
set -g @dracula-colors "
white='#EBDBB2'
gray='#32302F'
dark_gray='#282828'
light_purple='#B16286'
dark_purple='#504945'
cyan='#689D6A'
green='#98971A'
orange='#D65D0E'
red='#CC241D'
pink='#D3869B'
yellow='#D79921'
"
set -g @dracula-colors "
muted_back='#282828'
muted_red='#CC241D'
muted_green='#98971A'
muted_yellow='#D79921'
muted_blue='#458588'
muted_purple='#B16286'
muted_aqua='#689D6A'
muted_orange='#D65D0E'
muted_fore='#A89984'
strong_back='#928374'
strong_red='#FB4934'
strong_green='#B8BB26'
strong_yellow='#FABD2F'
strong_blue='#83A598'
strong_purple='#D3869B'
strong_aqua='#8EC07C'
strong_orange='#FE8019'
strong_fore='#EBDBB2'
back_0_hard='#1D2021'
back_0_soft='#32302F'
back_1='#3C3836'
back_2='#504945'
back_3='#665C54'
back_4='#7C6F64'
fore_1='#EBDBB2'
fore_2='#D5C4A1'
fore_3='#BDAE93'
fore_4='#A89984'
"
- Reload your tmux configuration:
tmux source-file ~/.tmux.conf
The simple color palette maps Gruvbox colors to Dracula variable names, making it easier to get started. Use the full palette if you need more granular control.
If you use the full palette, you can customize individual widgets with Gruvbox color names:
# Use strong colors for important widgets
set -g @dracula-git-colors "strong_green back_2"
set -g @dracula-time-colors "strong_purple back_2"
# Use muted colors for background widgets
set -g @dracula-network-colors "muted_aqua back_1"
set -g @dracula-cpu-usage-colors "muted_orange back_1"