>>2
Thanks a lot anon
I did the third approach
Heres the config for anyone who wants to do the same
static const char *colorname[] = {
[0] = "#ffffff", /* hard contrast: #f9f5d7 / soft contrast: #f2e5bc */
[1] = "#000000", /* red */
[2] = "#000000", /* green */
[3] = "#000000", /* yellow */
[4] = "#000000", /* blue */
[5] = "#000000", /* magenta */
[6] = "#000000", /* cyan */
[7] = "#000000", /* white */
[8] = "#000000", /* black */
[9] = "#000000", /* red */
[10] = "#000000", /* green */
[11] = "#000000", /* yellow */
[12] = "#000000", /* blue */
[13] = "#000000", /* magenta */
[14] = "#000000", /* cyan */
[15] = "#000000", /* white */
};
unsigned int defaultfg = 15;
unsigned int defaultbg = 0;
unsigned int defaultcs = 15;
static unsigned int defaultrcs = 257;