Text Colors



Preview text

The code


text-stroke is an experimental CSS property in webkit, (Safari 4 and Chrome). It is only supported in these browsers. text-stroke takes a length value (the width of the stroke), and a color valur (the color of the stroke.)

webkit also proposes a new fill-color property, which specifies the color of the non stroked text. While this seems redundant given the color property of CSS, this enables you to specify a fill color that would otherwise make text illegible if text-stroke wasn't supported.


Supported in Safari 1+Safari 4 Not supported in Firefox 3+Firefox Supported in Opera 10+Opera  Supported in ChromeChrome Not supported in IE8Internet Explorer