This is a question we are asked all the time, most times the answer is a resounding NO! UNLESS it is for a specific and acceptable purpose let us go into a few details for you here and discuss types of text.
Colour is acceptable here should you want your headings to stand out more but try to choose a colour that matches your site’s overall design. That said most sites automatically embolden headers and make the text larger so the colour is not really required to make your headings stand out. Run the book test in your head. Do books or newspapers have coloured headings? No they don’t as a rule the headings are just in larger text and usually bold
General Website Text
This is the text you are reading now the main text for all the information on your site. This should be a dark colour on a light background anything other than those standards and your site will be harder to read than most of the web and it WILL cause some visitors to leave your site early and it WILL cost you sales or customers.
Other Times Coloured Text Is Acceptable.
Again we are talking web standards here. Before you start shouting that you do not want to conform to standards that is up to you but changing what web users are used to adds a level of difficulty to the usability of your site again this can result in lost sales and customers.
Acceptable: Red text for warnings created by things like contact forms when a field has been missed or to REALLY emphasise a point the user is agreeing to.
Acceptable: Green text for a confirmation message EG: Your message has been sent
Acceptable: Blue text or a noticeably different shade from your sites standard text colour for any links. Users expect links to be blue or some other shade of your standard text.
DO NOT use multiple colours for text on a web page (Excluding above standards) it’s very unprofessional,
DO stick to black text on white page (or a dark grey or navy blue if that is what is required by the design of your site)
DO use standard easy to read fonts.