Web Design Information

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.


MORE RESOURCES:

Founders find Destiny in Web design
Rochester Democrat and Chronicle, NY - May 11, 2008
The Webster-based Web design and applications firm started in February 2006 in a Greece basement. It was there that the six founders put together the ...


Web Design Company in UK Offers Outsourced Web Development and ...
The Open Press (press release) - May 10, 2008
(OPENPRESS) May 9, 2008 -- Kronik Media, the London based web design company are known for the value of their web development services for businesses. ...


Internet traffic congestions Solved Reports Dallas Web Design ...
WiredPRNews.com (press release), TX - May 9, 2008
Cambridge, MA (WiredPRNews.com) — In 1998, a few scientists from MIT University in Massachusetts came up with an idea that would prevent Internet congestion ...


Minneapolis Web Design Firm Launches Custom Website for Bus Rescue
Emediawire (press release), WA - May 9, 2008
Minneapolis web design company helps Bus Rescue save the day when a bus is broken down and needs service away from its home area. Nearest towing, repair and ...


Fusionbox Wins Top Marketing Honors for Superior Energy Web Design ...
TAXI Design Network, NY - May 9, 2008
Fusionbox received a 2008 Gold Key Award from the Colorado Chapter of the Business Marketing Association for their work with Superior Energy, ...


10 Things to know about Web Design
Gather.com, MA - May 8, 2008
Most web design companies will not write text. You could write the content yourself or hire a copy expert or marketing consultant to write it for you. 10. ...


Atlanta Web Design Agency NeboWeb Takes Home Multiple 2008 Horizon ...
TechLINKS (press release), GA - May 8, 2008
NeboWeb’s interactive marketing services range from complete interactive marketing engagements to standalone projects such as Web Design, Search Engine ...


Why Web design is an IT-marketing tug-of-war
Computerworld, Norway - May 1, 2008
There are also certain Web design elements that are counterproductive to successful search results. For instance, a common mistake is the abundant use of ...


Web Design on a Budget: Crucial Considerations
PR Web (press release), WA - May 8, 2008
Certain web design packages will include basic search engine ranking while others will not. "Investigate search engine optimization components such as ...


Upgrading a website? Four key SEO tips for web design firms
E-consultancy, UK - May 7, 2008
As many web design firms take on the remit of upgrading a client’s website, it is important to integrate best practice SEO techniques into the web design ...

Web-Design - Google News

home | site map
© 2006 Webhosting-Service.com - All Rights reserved. - GetWeb Media Webdesign Muenchen