Do you already know how to display text in red or blue?
Do you know how to determine whether or not a number is divisible by 2?

What operating system are you using, and what compiler? Display of coloured text is not standard in C and is platform and compiler specific.