Free Adobe Photoshop website templates by Colorifer.com. Web design articles
articles.colorifer.com - articles about web design

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:

Web312 Named Second Best Web Design Company by topseos.com for February 2012
Press Media Wire
The independent authority on Search vendors, topseos.com, has named Web312 the second best web design company in the online marketing industry for the month of February 2012. topseos.com evaluates and ranks the best web design companies which offer ...

and more »


Sigma Infotech launching new web design plans
PRWire
According to Sigma Infotech's spokesperson, the new plans for Web Design are the fruits of the company's market research conducted to find out the needs of the potential customers. Its web design team is now equipped with a vital piece of knowledge ...



Indiana Web Design Company Radically Changes Approach to Web Development
PR Web (press release)
Effect Web Agency, an Indiana web design company, redefines their entire develop process to focus on achieving sales results for clients. Effect Web Agency says they know why websites do not work for many businesses. Steve Schmidt, President and Web ...

and more »


DC Web Design Firm Blue Water Media Launches a New Website for the Public ...
PR Web (press release)
A Leader in Creative Web Design, Blue Water Media Assists the Public Media Business Association in Their Mission to Establish a Comprehensive Digital Resource for the New PMBA and its Members. The Public Broadcasting Management Association underwent a ...



HigherVisibility Named Eleventh Best Web Design Company by topseos.com for ...
Press Media Wire
The independent authority on Search vendors, topseos.com, has named HigherVisibility the eleventh best web design company in the online marketing industry for the month of February 2012. Their position in the rankings of top web design companies is ...

and more »


EQuicknews

Web Design Tips
EQuicknews
Launching а website іs bоth exciting аnd potentially rewarding. A wеll planned site can have а positive effect оn уour business, wіth online sales bucking thе trend in an othеrwisе downbeat economy. Creating a website can аlѕо bе a daunting task, ...

and more »


Profit By Outsourcing, The Web Design India Company Sought to Sculpt The ...
DigitalJournal.com (press release)
The Web Design India company is also incorporating an authenticated “Wiki” on the lines of online free encyclopedia, the Wikipedia for user to post articles, have access to relevant information and keep themselves posted with the latest about the ...

and more »


New Digital Multi Media Program Coming to Brighton High School
Patch.com
By Nicole Krawcke Brighton High School Sophomore Evan Palmer works on an assignment during the first week in Web Design. Palmer said he took the class to learn how to make his own website. Brighton High School is getting a new career technical ...



Industry Today (press release)

Calgary Web Design Firm Offers Exclusive Content Management System
Industry Today (press release)
Understanding the increasing demand for this system in today's business world iDesignit.ca a Calgary Web Design Company, is offering innovative solutions to small businesses in Calgary, Alberta and surrounding areas. iDesignit.ca specializes in ...



PR Web (press release)

Algonquin Studios Shares Thought Leadership Reports on Web Design, SEO ...
PR Web (press release)
These are people who have started successful businesses, built enterprise-level software systems, and work hard to actively keep abreast of changes and advancements in technology, software development, web design, and online marketing,” says ...

and more »

Google News

2007-2008 © Copyright colorifer.com. All Rights Reserved.
Free Adobe Photoshop templates.
Web Design Articles | Site Map | Terms of Use