 |
Lead Internet®
HTML Color Codes
HTML Color Guide for representing HTML Colors
HTML Colors are represented as 3 pairs of hexadecimal numbers: #RRGGBB
RR is the hexadecimal equivalent of the red html color component
GG is the hexadecimal equivalent of the green html color component
BB is the hexadecimal equivalent of the blue html color component
The red, green, and blue components, also know as RGB components, are combined to create the html color. Each component can have an integer value between 0 and 255 but in html the numbers are represented in hexadecimal format. Hexidecimal format represents numbers in base 16 format. For those of us who don't naturally think in terms of base 16 numbers I've provided a Hexadecimal conversion tool below:
Enter an integer between 0 and 255: = Hex
Use the following HTML Color Tool to create HTML colors. Experiment with different RGB values to design colors you can use for HTML font colors, HTML background colors, HTML link colors, HTML border colors, and HTML table colors. Get creative with color.
HTML Color Codes Tool for creating HTML Colors
The Sixteen Predefined HTML Colors
Mouse over the HTML Color to display HTML Color Codes.
HTML COLOR CODE:
HTML COLOR NAME:
HTML Color Chart
HTML Color Table of HTML Color Names, Hex Color Codes, and Visual Colors
Recommended HTML Books
|
|

Beginner HTML Book Highly Recommended
|

Advanced HTML Book Very Highly Recommended
|
Here are a few examples of how you can use Colors in HTML Code
Specify the html background color of the page via the hexadecimal html color code or html color name:
<body background="#F5F5F5" >
<body background="whitesmoke" >
Specify the html font color via the hexadecimal html color code or html color name within a <font> tag:
<font color="#FFA500">Orange HTML Font Color</font>
<font color="orange">Orange HTML Font Color</font>
Cascading Style Sheets (CSS)
Specify the html background color via an inline style sheet property:
<body style="background-color:#000000" >
Specify the html background color, global html links color, and a class named "links" via a Global Stylesheet declaration. Note that the links style sheet properties also specify the html link color when "hovering" over the link (ie. when the mouse is placed over the link.)
<style>
body {background-color:#ffffff}
a {color:#32CD32;font-size:11px;font-family:verdana}
a:hover {color:red;font-size:11px;font-family:verdana}
.link {color:black;font-size:11px;font-family:verdana}
.link:hover {color:yellow;font-size:11px;font-family:verdana}
</style>
Link to our HTML Color Codes Page:
Educate your users on html colors. Feel free to place a link to this page on your website using the code below:
TITLE: HTML Color Codes
URL: http://www.leadinternet.com/web-design/html/html-color-codes.html
DESCRIPTION: Learn about HTML colors. HTML Color Chart Reference.
Lead Internet is a San Diego Web Development Company specializing in web development, web design, database programming, search engine marketing, and internet marketing.
This site features a free searchable web directory. Add your URL here.
HTML Color Codes, HTML Color Chart, HTML Colors, html color table, html color, html color code chart, html color guide, html color names, color codes for html, html color tags, hmtl color codes, html hex colors, html web colors, web safe colors
Copyright ©2005-2008 Lead Internet. All Rights Reserved.
|
 |