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.

You are viewing a single comment. View All

It is the same...?

if you mean entire terminal background, it would be much harder than just highlighted text, as this code demonstrates: