Are you doing this in GUI or older text based DOS type 25x80 interface?
If its the old type interface, I have all the
functions and
header files ready for the purpose

You have to straight away #include them and start using.

I have made those files many years ago

so all copy
left, free for use.
Example, colour.h:
Code:
/**************************
*
* Foreground Colours
*
***************************/
#define BLACK 0
#define BLUE 1
#define GREEN 2
#define CYAN 3
#define RED 4
#define MAGNETA 5
#define BROWN 6
#define WHITE 7
#define GRAY 8
#define YELLOW 14 /* Yellow, same as BRIGHT + BROWN */
/*************************************************
*
* To display in Blinking mode add BLINK
* To display Brighter Characters add BRIGHT
*
* e.g. RED + BLINK
* RED + BRIGHT + BLINK
*
* Only foreground can be BRIGHT or BLINKing
*
***************************************************/
#define BRIGHT 8
#define BLINK 128
/*************************************************
*
* Backgroud Colours
*
* To display in a particular backgroud colour,
* add it to foregroud colour
*
* e.g. RED + BACK_GREEN
*
**************************************************/
#define BACK_BLACK 0
#define BACK_BLUE 16
#define BACK_GREEN 32
#define BACK_CYAN 48
#define BACK_RED 64
#define BACK_MAGNETA 80
#define BACK_BROWN 96
#define BACK_WHITE 112