textcolor in C: (I=intensity; R=red; G=green; B=blue; 000=black; 111=white;)
Background Foreground
IR GB IR GB
128643216 8421
int color = ;

DEV-CPP:


#include <windows.h>
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), );

#include "console.c"
setrgb(color);

Turbo C:


#include <conio.h>
textcolor(4);
textcolor(RED);
textbackground(4+2);
cprintf("red text on yellow background...");