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.
Geneva ohare limo service .. Lockport Chicago limo O’HareYou've thought about it and you're ready to go. You're... Read More
Out there in the WWW there are thousands sites using... Read More
My site is working fine. The links work. Content is... Read More
Before you start worrying about marketing your website on the... Read More
Web Design is a very subjective process. Your idea of... Read More
Persons engaged in website design, here's a scoop for you!... Read More
There are lots of websites out there that do little... Read More
I taught myself HTML back in the mid-nineties and was... Read More
Are you looking for somebody to build you a website,... Read More
This article gives free tips on how to find a... Read More
Selling on the internet is a challenge. There is no... Read More
Do you want to use unsafe web colors without offending... Read More
Have you put a lot of effort, time, and money... Read More
Don't knock it; "Keep It Simple, Stupid" is a great... Read More
While few companies can boast as we do that our... Read More
Before deciding on which web design company to choose, you... Read More
One visit does not make a sale. Be sure to... Read More
Countdown to Armageddon - at least you'd think so judging... Read More
You've got a concept for a business, are excited about... Read More
Just because you are a small business with an even... Read More
As a webmaster, you want to keep your visitors content... Read More
When it comes to marketing your website, you should really... Read More
There can be zillions of reasons why your visitors return... Read More
Getting a customer is not easy.Getting a visitor to decide... Read More
Content is undoubtedly the most important element of a website.... Read More
Biggsville wedding limo ..When your web site sells more than a dozen items,... Read More
When you start building your online business and search for... Read More
Why your site should be developed with CSS and semantic... Read More
CNN.com's designers have gone out of their way to make... Read More
One product, one long web page: this kind of web... Read More
The landing page or entry page of your visitors is... Read More
Most of us at times need advice on different aspects... Read More
Colors are powerful, and create strong feelings. They can also... Read More
Do you have a website? If so, you need an... Read More
Now that you have decided that it is time to... Read More
The most important person that you need to please when... Read More
The great debate: how much copy you should have on... Read More
**How Colors are Used in web design:**Demarcates screen elements into... Read More
Setting up a survey on your site is extremely simple... Read More
Your web site is the key to your success on... Read More
A few years ago a lot of websites utilized frame... Read More
Websites, there's literally billions of them out there in cyber-space.... Read More
As a webmaster you already know how important it is... Read More
Out there in the WWW there are thousands sites using... Read More
7. Create high quality content - make clear points with... Read More
Your web site should always adhere to standards!A professional web... Read More
When it comes to marketing your website, you should really... Read More
As my occupation is that of a proofreader, one of... Read More
Are you a student of graphic design? If you have... Read More
These days, it seems that everyone has a website. Unfortunately,... Read More
Web Design |