bestcolors.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Terminal colors (16 first used in escape sequence) */
  2. static const char *colorname[] = {
  3. /* 8 normal colors */
  4. [0] = "#303030", /* black */
  5. [1] = "#a43261", /* red */
  6. [2] = "#b50082", /* green */
  7. [3] = "#8100b3", /* yellow */
  8. [4] = "#4316b4", /* blue */
  9. [5] = "#1e36be", /* magenta */
  10. [6] = "#0062ae", /* cyan */
  11. [7] = "#c6c6c6", /* white */
  12. /* 8 bright colors */
  13. [8] = "#5e5e5e", /* black */
  14. [9] = "#ff9fc9", /* red */
  15. [10] = "#ff6ad5", /* green */
  16. [11] = "#c774e8", /* yellow */
  17. [12] = "#ad8cff", /* blue */
  18. [13] = "#8795e8", /* magenta */
  19. [14] = "#94d0ff", /* cyan */
  20. [15] = "#ffffff", /* white */
  21. [255] = "0,",
  22. /* special colors */
  23. [256] = "#100410", /* background */
  24. //[257] = "#2f76ae", /* foreground */
  25. [257] = "#ff87ff", /* foreground */
  26. };
  27. /*
  28. * Default colors (colorname index)
  29. * foreground, background, cursor, reverse cursor
  30. */
  31. unsigned int defaultfg = 257;
  32. unsigned int defaultbg = 256;
  33. static unsigned int defaultcs = 257;
  34. static unsigned int defaultrcs = 257;