Home Page About Us Security & Privacy ToS Add Your Link Add Your Article
Search:   
allarticlelist.com
Add Url
 

News & Events

Home Family & Garden

Technology & Science

Software & Networking

Eating & Drinking

Property & Agents

Entertainment

Fashion & Relationships

Self Management

Law & Politics

Sports

Society & Issues

Companies & Business

Healthcare & Treatment

Art & Creative

Vehicles & Automotive

Teens & Kids

Academics & Learning

Tour & Travel

Careers & Employment

Malls & Shopping

Online & Board Games

Health & Therapy

Finance & Investment

 

Home Page –› Software & Networking –› Web Development Services
 

Understanding How HTML Color Codes Work

 

Author: Joe Duchesne

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.

Author Bio:

Joe Duchesne

Joe Duchesne is the founder and co-owner of Yowling Hosting a web hosting business that specializes in offering their YowlingBuilder to business owners who need an easy to use website creation tool. He makes his home base in Hamilton, Ontario, Canada. He is married to Lucy his business partner and soulmate. They have two wonderful children that are their pride and joy.

Joe is an accomplished public speaker and an entrepreneur through and through. He has owned a number of businesses and can't imagine ever wanting to work for someone else.

Customer service, honesty and exceeding expectations are values that Joe takes seriously in his business. He is constantly looking to add more value to his clients.

While Joe never considered himself a writer, over the last couple of years he has found that he excels at it and best of all, he loves it!

A voracious reader, Joe is constantly expanding his mind and knowledge with books, magazines, newspapers and lots of online content on a daily basis. He prides himself in being a lifelong learner.

You can also reach this article by using: web site development, web design & development, website development tampa
 
 
 

Related Articles

 
Tips on Creating Your Own Infoproducts
 
Finding Temperature Sensor Deals
 
Lg Kg800 Chocolate: Classy Looking Slider Phone
 
How To Spy on Your Competition While Breaking Into the Top 10 on Yahoo and Google
 
IT Consultants: Don't Skimp on Hardware with Power Users
 
Money Can Still be Made on the Internet
 
History of the Web Hosting Industry
 
Excelling With Online Marketing
 
Getting Your Business Online in an Hour
 
PALM TREO 650
 
 
 
Home Page >> Security & Privacy >> ToS  
© 2006-2008 www.allarticlelist.com All Rights Reserved Worldwide.