Haven't found any usefull information on the subject. Changing color in a text using ncurses is a bit difficulty.I found another console library that permit to change the color as follow: setBGcolor(red) or setFGcolor(blue). Btw i don't want to mix the two libraries (i don't know if could work).
It seems you’re struggling a lot about colourful console programs. If you fancy them, I’m not here to discourage you, but perhaps today the number of programmers really interested in this topic is decreasing. There’s a number of graphical libraries by which you could interact with the user to a degree you’re not likely to achieve by the console, and many of them are free to use or have very permissive licenses.
I’m just saying, if you decided to give a chance to one of them, maybe you’ll like that more than Ncurses.