How to change font color with CSS

If you need to change the font color in WordPress or another website you can use this snippet…


This would change the color of your font to red. You can also use HEX colors like this…


This would apply a dark grey color to your font. You can use an online color picker to find your desired color.

  Written by: Michael from     07-09-2022     Written in: CSS tutorials


  • Julius says:

    I tried to change the font color on my website with CSS but it didn’t work. But reading this it was quite easy 🙂

  • Valentina says:

    Wow, this tutorial on how to change font color with CSS was just what I needed! It’s so easy to follow and understand . I appreciate the clear explanations and examples provided. Now I feel confident in customizing the font color of my website to make it more appealing. Thank you for sharing this helpful guide!

  • Alexis says:

    Wow, I never realized how easy it is to change font colors with CSS! This tutorial was incredibly helpful and straightforward . I love how it explains the different methods for selecting specific elements and how to choose the perfect color using keywords, hexadecimal codes, or RGB values. I can’t wait to try out different font colors on my website now. Thank you so much for this fantastic tutorial!

Leave a Reply

Your email address will not be published. Required fields are marked *