How do I change the color of the console in c++?
I already have the color of the text in the console down but what about the background color of the console. I'm using c++ btw.
Check this page to get a complete list of colours.
For example, the table show the background colour red being
\033]41m, and the background colour of yellow being
You can use it like this:
There's also 256 bit colours, which ae described in that same page.
Hope this helps :)
You mean the console where the printed text is? I don't think you can change that. If you aren't talking about that 'console', then I'm not sure