Adding Color HTML to Your Text

A sample of the table of hex color codes:

#FFC6A5
#FFE7C6
#FFFFC6
#F7FFCE
#DEF38D
#CEEFBD
#C6E7DE
#C6EFF7
#BDC6DE
#C6B5DE
#DEBDDE
#F7BDDE
#FFFFFF
#FF9473
#FFCE9C
#FFFF9C
#EFF8AD
#C6EF8C
#A5DE94
#94D6CE
#94D6E7
#949CCE
#9C7BBD
#CEB4C6
#E7BCC6
#E0E0E0
#FF6342
#FFB573
#FFFF6B
#E7F784
#ADDE63
#7BC66B
#7BC66B
#63C6DE
#6373B5
#7B52A5

For a complete list of colors with their hex codes, go to Color Hex

If you like one of these colors, you can select and copy it to use in one of the code examples below.

This is old (deprecated), but still works. The code looks like this:

<font size="2" face="Verdana">
Your text here.
</font>



Your text here.


This is better. The HTML looks like this:

<p style="font-family:verdana;font-size:80%;color:green">
Your text here.
</p>


Which yields this:

Your text here.



Edit font and color, then select and copy it for your blog:



Stumble 'How to Add Color to Page HTML'


Or you could even do this:

<b style="font-family: lucida grande;font-size: 24pt;color: #FFC6A5; ">Your text here.</b>

Your text here.

Or even this:

<i style="font-family: lucida grande;font-size: 24pt;color: #083194; ">Your text here.</i>

Your text here.


And finally, this:

<p style="font-family: lucida grande;font-size:36pt;font-style:italic;color:#FF0000;">Your text here.</p>

Your text here.


Give me your opinion on my site: hyperscripter@gmail.com or http://twitter.com/hyperscripter


Add 'How to Add Color to Page HTML' to Technorati Favorites

No comments:

Post a Comment