Web Design Information courtesy of EnhanceYourPC.co.uk


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.

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.


MORE RESOURCES:

Blue Ridge Digital Relaunches with Emphasis on Affordable Web Design ...
PR Newswire (press release)
Blue Ridge Digital specializes in web design, custom website programming, software development, video production, online marketing, e-commerce solutions, ...

and more »


Zoara Unveils New Web Design
Diamonds.net
RAPAPORT... Zoara improved its website, www.zoara.com, by adding new diamond jewelry products, news and information. ...

and more »


Emarketing: Why Web Design and Logos Matter
ECommerce-Guide
First impressions count, especially on the Web when you have literally seconds to catch a customer's interest before he or she clicks ...



Source Unveils Unique Multimedia Web Design For E-Commerce
Online PR News (press release)
Through the usage of this innovative multimedia web design, new modules can be easily integrated along with the content management systems to provide ...

and more »


Web Design is Finally Affordable and Attainable
BizHWY (press release)
Who? The Company out of the Atlanta Metro area is called Fresh West Designs. Owner/Designer, Justin Hawkins looks to make beautiful websites affordable to ...



Dream9Media.com Announces Three Affordable Web Design Specials for Small ...
I-Newswire.com (press release)
Tacoma, WA, July 30th, 2010 – Dream9Media.com, Dream 9 Media, LLC announces three new web design packages. Dream 9 Media is offering three new web design ...



Indianapolis Web Design Company Launches Website for Indiana Web Design Solutions
PR Web (press release)
NarrowGateMedia.com as the resource for Indianapolis area businesses, non profits, and associations to find quality web design, web development, ...



New York Website Development Firm Introduces Its New Vice President of Sales
Online PR News (press release)
The company offers a wide range of business-centered visual communication solutions, including web-based content management, web design, graphic design, ...

and more »


New Money Making Opportunity Introduced by LogoBee- Affiliate Program Expanded ...
PowerHomeBiz.com (press release)
After helping over ten thousand companies with their graphic design needs, LogoBee are now in a position to offer the same deal for web design referrals. ...
Another Money Making Opportunity Launched By LogoBeeI-Newswire.com (press release)

all 2 news articles »


Fighting for minority rights is like maintaining a good web design
MidEastYouth.com
by Esra'a (Bahrain) We get a lot of people requesting to learn more about our projects, and most of them return with the inevitable question: why place such ...


Google News

home | site map
© 2007