c++ color terminal code example Example: c++ terminal color SetConsoleTextAttribute(console, ((int)background * 16) + (int)forground);