Tokyo sunset, a colorscheme

There’s a kind of comfort that I find in having a dark yet warm color theme to welcome my eyes while I waste away in the company of my terminal sessions. After seeing a few years of use, then a recent re-adjustment, I thought it might be good to share this one. Here are some combinations of it, as displayed in my terminal.

Although I can’t say how it fares in the eyes of color theory, this scheme tries to maintain a balance of considerations:

  • greyscale colors with multiple readable bg/fg combinations
  • RGB/CMY that somewhat represent their usual values
  • warm and distinct while staying somewhat coherent
  • decent contrast against the background color
  • most readable with bitmap fonts, without antialiasing

The following is the definition of it in the style of st.

static const char *colorname[] = {

  /* 8 normal colors */
  [0] = "#252525", /* black   */
  [1] = "#e94b4b", /* red     */
  [2] = "#b5cf40", /* green   */
  [3] = "#fea942", /* yellow  */
  [4] = "#6da2be", /* blue    */
  [5] = "#e21966", /* magenta */
  [6] = "#42b9a0", /* cyan    */
  [7] = "#dbdbdb", /* white   */

  /* 8 bright colors */
  [8]  = "#686868", /* black   */
  [9]  = "#ff7474", /* red     */
  [10] = "#bde077", /* green   */
  [11] = "#ffe863", /* yellow  */
  [12] = "#8db7cc", /* blue    */
  [13] = "#f45883", /* magenta */
  [14] = "#72d5c1", /* cyan    */
  [15] = "#f4f4f4", /* white   */

  /* special colors */
  [256] = "#11100f", /* background */
  [257] = "#e2e2e2", /* foreground */
};

(pixel art at the top by waneella)

created

modified