xxxxxxxxxx
// on linux
#include <stdio.h>
void main() {
printf("\033[31mred text\n");
printf("\033[33;44myellow on blue\n");
printf("\033[0mdefault colors\n");
}
xxxxxxxxxx
SetConsoleTextAttribute(console, ((int)background * 16) + (int)forground);