Some users may use monochrome monitors.
Many people have some form of either color-blindness or color confusion, so they will hjave trouble distinguishing colors.
Color is very subjective; a pretty color to you may be hideous to someone else.
A color may have a different meaning in a different culture.
Best to use black text on white, off-white, or light gray background.
Limit the number of colors. (3 not including white, black, gray)
Never use color as only means of identification.