Skip to content

A perceptually balanced color scheme for code editors and terminals. It was designed using HSLuv and ΔE00 to ensure harmony and contrast across light and dark modes.

License

Notifications You must be signed in to change notification settings

gerardbm/atomic

Repository files navigation

Atomic Color Scheme

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.

Multiple colors for multiple applications

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.

Atomic Space Screenshot

Atomic Ocean Screenshot

Atomic Onion Screenshot

Atomic Blood Screenshot

Atomic Night Screenshot

Atomic Grass Screenshot

Atomic Light Screenshot

Atomic Old Book Screenshot

Color palette

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°).

Atomic-scheme

Ocean Mode: base colors use the blue color (hue 251°).

This is an alternative mode with blue color.

Atomic-scheme

Onion Mode: base colors use the purple color (hue 293°).

This is an alternative mode with purple color.

Atomic-scheme

Blood Mode: base colors use the red color (hue 10°).

This is an alternative mode with red color.

Atomic-scheme

Night Mode: base colors use the orange color (hue 45°).

This is an alternative mode with orange color.

Atomic-scheme

Grass Mode: base colors use the green color (hue 110°).

This is an alternative mode with green color.

Atomic-scheme

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.

Atomic-scheme

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.

Atomic-scheme

Code editors and IDEs

Themes

  • Irssi
  • Mutt
  • Cmus
  • Vifm
  • Zsh
  • Rofi (.Xresources)

Installation

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:

  1. Installation for terminals (URxvt, XTerm).
  2. Installation for code editors (Vim, Neovim, vim-airline).
  3. Installation for command-line tools (cmus, irssi, mutt, vifm, zsh).

Font family

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

Old atomic color scheme

Check the old-atomic repository for old colors (selected using different algorithms).

About

A perceptually balanced color scheme for code editors and terminals. It was designed using HSLuv and ΔE00 to ensure harmony and contrast across light and dark modes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published