jazzymellow.com jazzymellow.com
   Main >> About Us >> Security & Privacy >> Terms of Service >> Place Your Link >> Add Your Article
Search:   
Add Url
 

Self Healing

Law & Politics

Sports & Adventure

Hotels & Travel

Recreation

Online & Board Games

Banking & Finance

Fashion & Relationships

Issues & News

Eating & Drinking

Business & Services

Shopping Online

Science & Research

People & Society

Health & Therapy

Employment & Careers

Computers & Networking

Healthcare & Medicine

Teens & Kids

Home Family & Garden

Creative Arts

Academics & Learning

Automotive

Realty & Property


 

Main › Computers & Networking › Web Design & Development
 

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 search for this article using: web site development, web design & development, website development tampa
 
 
 

Related Articles

 
Generating Sales with Lead Generation and Online Marketing Tools
 
Ad Tracking For Affiliate Marketers
 
1 Simple SEO Strategy To Get More Visitors To Your Site From Google
 
Affiliate Marketing Using Commission Junction
 
Website Directory Redesign Case Study
 
Web Design for Newbies... Content Sells... and Sells Again!
 
Internet Safety Tips for your Children
 
Successfully Advertising Online
 
7 Reasons Why Your Small Business Needs A Web Site
 
How To Cope With Spyware, Adware And Malware
 
 
 
Main >> Security & Privacy >> Terms of Service
© www.jazzymellow.com - All Rights Reserved Worldwide