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.
recurring maid service Buffalo Grove ..Seeing is believing.One trick to increase your visibility as well... Read More
Everything you say and do says something about you. This... Read More
If you need a web designer, but have no clue... Read More
A picture is worth a thousand words.And it still is... Read More
Know what you wantMake sure you know why you... Read More
Remember the famous line from the movie Field of Dreams,... Read More
Home-based businesses need a strong web presence to combat the... Read More
How many times have you clicked on a website only... Read More
In this article I will give a few tips of... Read More
What the heck is going on lately? Most internet websites... Read More
Effective navigation stands out. It's clear, obvious, and highly visible.You'll... Read More
When your web site sells more than a dozen items,... Read More
I taught myself HTML back in the mid-nineties and was... Read More
Don't make a splash!Are you thinking about using a splash... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
Chris, a new consulting client, asked me to help him... Read More
There is nothing wrong with making your own website if... Read More
Do you have a website? If so, you need an... Read More
Designing a website is hard job, and requires you to... Read More
Part one of this article is available at ... Read More
For most people graphic design does not come easy. Unfortunately... Read More
There are two important reasons to build your website from... Read More
Any design on a web application involves the effective input... Read More
Are you going to design or redesign new website or... Read More
Design sells. It's something that all of us know, but... Read More
premium house cleaning Glenview ..If someone doesn't know you personally, will they trust you... Read More
Cascading Style Sheets (CSS) allows you to create fast loading... Read More
Questions to ask when designing a Web Site for your... Read More
You have probably viewed many Flash-based components while surfing the... Read More
Thinking about designing your own website? Think again about adding... Read More
Squeeze pages are a very hot topic in the internet... Read More
Q: Should I build and maintain my business Web site... Read More
Dear web site visitor.I can't tell you how glad I... Read More
How many of the visitors to your web site take... Read More
Once, I attempted to create a favicon (the little graphic... Read More
So, what's in a website design anyway? And, how do... Read More
Using CGI scripts to add automation to your web site... Read More
Are you a student of graphic design? If you have... Read More
In cascading style sheets you can specify how your web... Read More
Almost everything is available on the web? products, services, e-books,... Read More
There are six important characteristics that can play a major... Read More
The problem with designing your site as a graphic, is... Read More
If you've a website but not making a lot of... Read More
The "Wow" factor that accompanied the introduction of streaming media... Read More
Some wise human once said "Learn from the mistakes of... Read More
You've designed your logo, and you're ready to print your... Read More
This may comes as a surprise to you but, if... Read More
The Basics You have a flourishing business ? everything is... Read More
I want to give you a free web page template... Read More
One of the biggest problems with Web sites is that... Read More
Web Design |