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.
tidy up service Glenview ..Colors convey emotions and emotions heavily influence the decision-making process.... Read More
Websites, there are literally billions of them out there in... Read More
For most people graphic design does not come easy. Unfortunately... Read More
You've made your website, added a great title and keywords... Read More
When you develop a sales brochure, you have a mental... Read More
With so many new websites going up, it is hard... Read More
With so many different configurations internet users have their computers... Read More
Reading on the web is different than reading in all... Read More
If you are going to be placing ads on your... Read More
What pages need to be included on your website? The... Read More
If you are trying to sell a product or service... Read More
Your business website tells a lot about your company. A... Read More
When you begin the design of your Web site, one... Read More
Ever wonder how HTML color codes are put together? For... Read More
I have written before about long sales copy on the... Read More
Are you a student of graphic design? If you have... Read More
Unarguably, the most important part of your website is content.... Read More
Let's look at what your user wants to see at... Read More
The way you design your web site affects your visitors'... Read More
Last Thursday afternoon I was working on a garage door... Read More
You have probably viewed many Flash-based components while surfing the... Read More
Every now and then, I receive a link exchange request... Read More
Are you in a dilemma whether to create a mini... Read More
Most web designers and web design companies will try to... Read More
You have identified that to have an internet prescence would... Read More
full-service cleaning Mundelein ..Congratulations! You've got a brand new site and it's doing... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
With the advent of the Internet a whole new vista... Read More
1. Repackage your web site content in to different products... Read More
There can be zillions of reasons why your visitors return... Read More
Creating an appealing, functional, and effective Web site is much... Read More
Unless you are an inventor, most likely you are selling... Read More
The following list of websites is the best compilation of... Read More
As web designer my self, I have had the unfortunate... Read More
Everybody talks about the importance of testing your sales copy... Read More
Your web site should be-visitor friendly to navigatesearch engine friendly... Read More
Drop Capitals are frequently used in many newspapers, books and... Read More
Projecting a professional image is paramount to your website's success.... Read More
You have good traffic, but low client sign ups and... Read More
1. What's the purpose?The most fundamental thing to do before... Read More
1. Assemble a web site development plan that is integrated... Read More
Flash is a powerful technology that can help you create... Read More
Dear web site visitor.I can't tell you how glad I... Read More
Know what you wantMake sure you know why you... Read More
So you're on the computer, as usual. Your eyes are... Read More
I taught myself HTML back in the mid-nineties and was... Read More
I'm sure you've all heard the saying 'Build it and... Read More
I once created a notepad-like editor. It is possible with... Read More
Square buttons, round buttons, flashy buttons ? will they match... Read More
The HTML editor is usually a webpage design software that... Read More
Web Design |