elbaite.stColors (1221B)
1 /* Terminal colors (16 first used in escape sequence) */ 2 static const char *colorname[] = { 3 4 /* 8 normal colors */ 5 [0] = "#181411", /* black */ 6 [1] = "#a63221", /* red */ 7 [2] = "#768948", /* green */ 8 [3] = "#d6a22e", /* yellow */ 9 [4] = "#33658a", /* blue */ 10 [5] = "#585481", /* magenta */ 11 [6] = "#599a82", /* cyan */ 12 [7] = "#9a9a9a", /* white */ 13 14 /* 8 bright colors */ 15 [8] = "#2b2722", /* black */ 16 [9] = "#a63221", /* red */ 17 [10] = "#768948", /* green */ 18 [11] = "#d6a22e", /* yellow */ 19 [12] = "#33658a", /* blue */ 20 [13] = "#7473a3", /* magenta */ 21 [14] = "#599a82", /* cyan */ 22 [15] = "#bfbbb6", /* white */ 23 24 /* special colors */ 25 [256] = "#181411", /* background */ 26 [257] = "#bfbbb6", /* foreground */ 27 }; 28 29 /* 30 * Default colors (colorname index) 31 * foreground, background, cursor 32 */ 33 static unsigned int defaultfg = 257; 34 static unsigned int defaultbg = 256; 35 static unsigned int defaultcs = 257; 36 37 /* 38 * Colors used, when the specific fg == defaultfg. So in reverse mode this 39 * will reverse too. Another logic would only make the simple feature too 40 * complex. 41 */ 42 static unsigned int defaultitalic = 7; 43 static unsigned int defaultunderline = 7; 44