Additional CSS Resources

CSS Font Color

February 14, 2010

In this ultra simple nerd-free CSS tip, I will show you how to change the color of your fonts with CSS.

Check out the samples:

h2 { color: green; }
h4 { color: #9000A1; } 
p { color: rgb(0, 210, 87); }


You are able to specify the color in either:

  • by Named color
  • by Hexadecimal
  • by RGB


Stefan Mischook