You are forgetting the quotes around rgb.
For example , use this:
change to red color
Thank you resdesign, but that still did not solve the problem, I had tried that solution before (and I tried it again by copy and pasting your code) and it still is not changing the text color.
Oops, was testing on the wrong element. Your answer WAS correct. My apologies.