Tim Wells

How to color text in html using css and a image.

Let’s look at a simple bit of css that will allow us to color regular text using a image. Sure, you can set a text color using css, but with this simple technique, the text will adopt the color of the image you use.

You can see here the colors of the image coming through.

Here is the very simple css…