HTML Dog
Skip to navigation

CSS Property: color

Foreground color, primarily setting text color.

Possible Values

ValueExample
[color]#00cc33
inherit
initial
unset

Example


p { color: red; }

#squirrel { color: rgba(255,192,0,0.5); }

Browser support