Note: Colors were recalculated using HSLuv in 2023 and the CIEDE2000 Delta E (ΔE00) metric in 2025, so colors may differ slightly from previous versions.
Atomic is a dark color scheme designed to use with terminals. This repository provides support for URxvt and XTerm; it also includes themes for some terminal applications (vim-airline, irssi, mutt, cmus, vifm) and Zsh. To use it in Vim/Neovim, check the repository vim-atomic.
The color palette consists of sixteen precision colors selected procedurally through algorithms. Colors are distributed across six distinct hues and four levels of perceived lightness, based on the perceptually uniform color space HSLuv —an alternative to HSL designed to better reflect human perception of color differences.
Unlike traditional HSL, HSLuv ensures that equal lightness values correspond more closely to equal perceived brightess. Human nvision doesn't perceive brightess linearly: for example, a pure green color (#00FF00
) appears brighter than pure red (#FF0000
), despite having the same nominal lightness in HSL. To address this, the palette uses HSLuv to balance the perceived lightness consistently, with dark colors using 65% lightness and bright colors using 73%.
Regarding hue selection: although there are six main hues, they are not spaced evenly by degrees (e.g., every 60°). This is because human perception is not uniform around the hue wheel: for example, some colors, like blue and cyan, require greater angular separation to be distinguishable, while reds and oranges can be closer. To ensure perceptual distinctness between hues, their separation has been validated using the CIEDE2000 Delta E (ΔE00) formula, a standard metric for color difference in the CIE LAB color space.
Space Mode: base colors use the teal color (hue 222°).
Ocean Mode: base colors use the blue color (hue 251°).
This is an alternative mode with blue color.
Onion Mode: base colors use the purple color (hue 293°).
This is an alternative mode with purple color.
Blood Mode: base colors use the red color (hue 10°).
This is an alternative mode with red color.
Night Mode: base colors use the orange color (hue 45°).
This is an alternative mode with orange color.
Grass Mode: base colors use the green color (hue 110°).
This is an alternative mode with green color.
Light Mode: base colors use the orange color (hue 55°).
Light mode is useful when the screen receives a high illumination or we have to code in a bright environment. Our eyes will not have to adapt the light sensibility every time we look at the screen.
Old Book Mode: base colors use the orange color (hue 55°) with more saturation.
This bright mode is an alternative emulating the look of old books paper. It features an increased contrast.
- Terminal
- URxvt (
.Xresources
) - XTerm (
.Xresources
)
- URxvt (
- Vim and Neovim
- Vim-airline (included in vim-airline)
- Irssi
- Mutt
- Cmus
- Vifm
- Zsh
- Rofi (
.Xresources
)
Atomic themes for cmus, irssi, mutt, vifm and zsh can be installed using the script install.sh
. For example, to copy atomic.zsh-theme
into its path use the following command:
./install.sh -m copy zsh
If you want to 'symlink' instead of 'copy', use the symlink option:
./install.sh -m symlink cmus irssi
Atomic colorscheme for Vim and Neovim can be installed directly from the following repository: gerardbm/vim-atomic.
Atomic theme for vim-airline is available from the official repository, just type: :AirlineTheme atomic
.
Atomic colorscheme for Sublime Text is available from the official package manager.
For more specific information, read the following articles:
- Installation for terminals (URxvt, XTerm).
- Installation for code editors (Vim, Neovim, vim-airline).
- Installation for command-line tools (cmus, irssi, mutt, vifm, zsh).
Atomic is designed to look good with any kind of typography, as colors are distinguishable to any thickness.
Some themes (vim-airline, zsh) require the installation of Powerline fonts. URL: https://github.com/powerline/fonts
Check the old-atomic repository for old colors (selected using different algorithms).