For a console app; I know you can use System("color XX"), but that changes all the text and I only want just a word or several lines of text to be coloured.
You should avoid the system function like the plague.
In regards to changing the color of the screen, I only know how to do it on Windows OS. The following code will allow you to change the color when you want: