weblistingster.com weblistingster.com weblistingster.com
Search:    Main Page :> About Us :> Privacy :> Terms & Conditions :> Add Url :> Add Your Article   
Free links exchange
 

Healthcare & Treatment

Technology & Science

Education & Learning

Property & Estate

Self Help

Culture & Art

Politics & Government

Jobs & Careers

People & Society

Cooking & Drinking

Indoor Games

Automobile & Automotive

Computers & Software

Finance & Investment

Issues & News

Shopping & Auction

Travel & Accommodation

Garden & Home

Music & Entertainment

Teens & Kids

Fashion & Lifestyle

Health & Therapy

Adventure & Sports

Business & Commerce


 

Main Page » Computers & Software » Web Development Services
 

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.

Author: Joe Duchesne
 
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.

 
 
 

Related Articles

 
Email Marketing: Still an Effective Internet Marketing Technique?
 
Web Hosting Choices: Finding a Quality Web Hosting Provider
 
Trading Software
 
Blogatin vs. Schmidt: The Truth That Hurts So Badly in Click Fraud Theory
 
What Can I Do For You?
 
Effective Solo Ad Tip for Increased Web Site Visitors
 
Seven Things to Consider When Choosing a PDA
 
Affiliate Internet Programs
 
Make Money Fast From Any Affiliate Program
 
Meeting Organization Made Easy
 
 
 
 

The Top Five Ways To Create Leads To Your Website

Discover the top five Internet marketing tools that no business can live without. Learn how to emplo ... - Matt Bacak
 

Effective Solo Ad Tip for Increased Web Site Visitors

Writing the perfect solo ad can be frustrating. However, you could make it much easier by knowing ju ... - Tim Bossie
 

Learn About Spyware And How To Protect Yourself From It Efficiently For Free

Spyware is a common problem that few people know how to act against. This guide will teach you what ... - Adam Wiskar
 
 

Online Shopping Computer Spare Parts Within Kent Uk

Online printer spare parts kent uk, pc repairs & services in uk, computer components & perip ... - Online Shopping
 

Beauty Salon Software

Often, running a beauty salon efficiently can be tedious. With so much paperwork required, the work ... - Kent Pinkerton
 

Write E-Mails That Sell: 5 Easy Ways to Improve Your Email

Learn five quick, easy ways to increase the likelihood your e-mail will be opened, read and acted up ... - Jonathan Kranz
 

Managing Your Business Finances

Has your company progressed to the point where you need more than a pen and paper to keep track of y ... - James C
 

Unlimited DVD Rentals

More and more people are renting DVDs online. Although some still prefer to go to rental stores, the ... - Josh Riverside
 
 
Main Page :> Privacy :> Terms & Conditions  
© 2008 www.weblistingster.com All Rights Reserved.