I'm a bit of a newbie to C, and I was wondering if anyone knew of anywere, or knew of a function to change the text color of the console. I would like it to be something like:

set_tcolor()

and have the following arguments:

red
green
blue
default (the gray or white that is standard)

If someone could give me specific detailed instructions on how to implement the function also I would really appreciate it.

--Thanks