/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {

  /* 8 normal colors */
  [0] = "#282a2e", /* black   */
  [1] = "#9c001f", /* red     */
  [2] = "#009a1f", /* green   */
  [3] = "#a48300", /* yellow  */
  [4] = "#008b54", /* blue    */
  [5] = "#8b5b00", /* magenta */
  [6] = "#006f5c", /* cyan    */
  [7] = "#70a281", /* white   */

  /* 8 bright colors */
  [8]  = "#373b41", /* black   */
  [9]  = "#ff0033", /* red     */
  [10] = "#00ff33", /* green   */
  [11] = "#ebbb00", /* yellow  */
  [12] = "#00f896", /* blue    */
  [13] = "#e99900", /* magenta */
  [14] = "#00d7b2", /* cyan    */
  [15] = "#b1ffcb", /* white   */

  /* special colors */
  [256] = "#1d1f21", /* background */
  [257] = "#00ca28", /* foreground */
};

/*
 * Default colors (colorname index)
 * foreground, background, cursor
 */
static unsigned int defaultfg = 257;
static unsigned int defaultbg = 256;
static unsigned int defaultcs = 257;

/*
 * Colors used, when the specific fg == defaultfg. So in reverse mode this
 * will reverse too. Another logic would only make the simple feature too
 * complex.
 */
static unsigned int defaultitalic = 7;
static unsigned int defaultunderline = 7;
