Harmony Hollow Software Special web hosting offer - LIMITED TIME ONLY


Understanding How HTML Color Codes Work


Ever wonder how HTML color codes are put together? For the beginner, it can look like lots of numbers and letters that make no sense. In reality, HTML color codes are written that way for a specific reason that we'll look at in this article.

Introduction to the Hexadecimal System

In mathematics, the hexadecimal or simply hex is a numeral system with a base of 16 usually written using the symbols 0-9 and A-F. The numbers 0-9 have the same value as in the decimal system but starting with the letter A, the value keeps going up one up to the value of 16. A is worth 10, B is worth 11 and so forth until you get to F which is worth 16.

How the HTML Color Codes are put together

HTML Color codes are composed of six hex numbers that represent a possible 16.7 million color combinations. The hex color codes are built on the RGB color model. R stands for red, G for green, and B for blue. With your typical html code that looks like this: #FFFFFF it breaks down as follows. The first two hex digits #FFFFFF represent 'red'. The second set of two hex digits #FFFFFF represent the color green. The third and final set of two hex digits #FFFFFF represent the color blue.

A brief overview of the RGB model

The RGB color model, like the HTML color model can represent a total of 16.7 million colors. By varying the amoung of red, green, and blue, one can come up with any of 16.7 million colors. Each RGB value is represented by a number from 0 to 255. So a set of RGB values for the color white for instance, would look like this: 255, 255, 255.

Putting HTML and RGB Together

We've already established the hex numeral system with it's number range between 0 to 16. Now, when you combine two hex numbers, you can represent any number between 0 and 255. As you can see, RGB and HTML color codes represent the same color model.

Websafe Color Palette

Years ago, monitors could only display 256 colors. These monitors were still popular when HTML was first put together. As such, it was necessary to put together a list of colors that web designers could be sure any given monitor could properly display. Web safe colors are the result. The websafe color palette is made up of 216 colors.

It is always good practice to pick standard colors across the board, but it is no longer absolutely necessary to stick with web safe colors. Doing so now is more for purposes of holding to standard than it is for necessity. One exception to this rule may be developing websites for cellphones and PDA's. Having said that, these devices are now surpassing this barrier as well.

#FFFFFF represents the color white. #000000 represents the color black with every other color in between. I hope you now have a much better idea of why HTML color codes are look the way they do.

Joe Duchesne is the president of Yowling.com. They specializes in business web hosting and also offers you the ability to design a website online using their easy to use ecommerce website builder. Reprint freely as long as you provide a keyword rich clickable link back to our website.

Add to these social bookmarking sites:

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Folkd Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

MORE RESOURCES:

Spencer Web Design gets $25000 loan
Bizjournals.com
Spencer Web Design, a web design, development and Internet marketing services business in St. Peters, Mo., has been approved for a $25000 small business ...

and more »


Web design chennai | Web designing company chennai | Website development ...
BigNews.biz (press release)
Dmaxcreative offers professional, affordable web design and Web development services in Chennai India. Whether are looking to build your first website or ...



Locating A Great South Florida Web Design Service In Miami
BigNews.biz (press release)
If you live in Miami, locating a good South Florida web design company to build your website can seem like an impossible task. ...

and more »


MindSmack.com Awarded the Best Web Design Agencies Ranking by ...
Online PR News (press release)
bestwebdesignagencies.com, the independent authority on the best web design companies, released the March 2010 rankings of the top web design agencies. ...
Hudson Horizons Ranked as the Best Web Development Agency for March 2010 by ...Online PR News (press release)

all 2 news articles »


Sports Briefs: Hall of Fame offering scholarship for Web design
Gaylord Herald Times
GAYLORD — The Greater Otsego Sports Hall of Fame is looking to develop a Web site and is enlisting local high school students to help. ...



Web design class set at JCJC
Hattiesburg American
ELLISVILLE – Jones County Junior College's Advanced Technology Center is offering a Web Design Basics course using Adobe DreamWeaver CS4. ...

and more »


Web Design Company Launches New Design Packages
PR-USA.net (press release)
"Our job as a web design company is to take the complex and to make it simple - and these new design packages is one exciting way that we are doing just ...



Cincinnati Web Design - Web Usage Mining for Personalized Websites
I-Newswire.com (press release)
(I-Newswire) March 19, 2010 - The reason being older versions are a lot easier to hack. Because, when a version goes out of date, the developer stops ...



Demosphere® Marks 20th Anniversary with New Website
PR Web (press release)
For more information on Demosphere, visit the company's website at http://www.demosphere.com/ Blue Water Media is a premier Washington DC based web design ...

and more »


Business startups receive city loans: Restaurant, Web design firm get capital ...
TMCnet
18--The city of Kokomo is partnering with a new local restaurant and a Web design firm in an attempt to bring startup jobs to the City of Firsts. ...


Google News

Home | Site Map
© 2006