...

View Full Version : Can you create your own text-color?



MrTIMarshall
08-01-2012, 06:38 PM
Hello,

A thought just occurred after adding, what looks like a graphite logo for Facebook.

I was wondering if it was possible to somehow add a texture of graphite, no font colour and....

I'm not too sure how to explain myself here, basically, could I get graphite coloured text on my website?

Best Regards,
Tim

VIPStephan
08-01-2012, 07:37 PM
You mean a texture? No, that’s currently not possible with CSS.

TylerB
08-01-2012, 07:49 PM
You cannot use textures as text colors using CSS. The only way to achieve this would be to create a transparent image in photoshop, write the text you wish to have then overlay the text with the pattern.

MrTIMarshall
08-01-2012, 07:58 PM
You mean a texture? No, thatís currently not possible with CSS.

Correct me if I'm wrong, but it sounds like this is possible, just not with css?

DrDOS
08-01-2012, 08:01 PM
You can do this dynamically with .svg files, at least I think you could, I dont know what all the options are.

http://www.w3schools.com/svg/svg_examples.asp

You can probably convert an .svg with photoshop, I know for a fact that you can with Imagemagick, so that it's a .png or such.

PS: Yes you can, use linear gradient for it, along with fill for color.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum