My Article Database: Free Articles for Teaching and Studying English as a Foreign Language in China - by Paul Sparks




 Homepage
 About Me
 Teachers
 Students
 Lessons
 Photographs
 Links
 World News
 ICQ Chat
 Contact Me
 Articles
 
My Article Database:

 

Accounting
Acne
Adsense
Advertising
Aerobics
Affiliate
Alternative
Articles
Attraction
Auctions
Audio Streaming
Auto Care
Auto Parts
Auto Responder
Aviation
Babies Toddler
Baby
Bankruptcy
Bathroom
Beauty
Bedroom
Blogging
Body Building
Book Marketing
Book Review
Branding
Breast Cancer
Broadband Internet
Business
Business Loan
Business Plan
Cancer
Car Buying
Career
Car Insurance
Car Loan
Car Maintenance
Cars
Casino
Cell Phone
Chat
Christmas
Claims
Coaching
Coffee
College University
Computer Tips
Cooking
Cooking Tips
Copywriting
Cosmetics
Craft
Creative Writing
Credit
Credit Cards
Credit Repair
Currency Trading
Data Recovery
Dating
Debt Relief
Diabetics
Diet
Digital Camera
Diving
Divorce
Domain
Driving Tips
Ebay
Ebook
Ecommerce
Email Marketing
E Marketing
Essay
Ezine
Fashion
Finance
Fishing
Fitness
Flu
Furniture
Gambling
Golf
Google
GPS
Hair
Hair Loss
HDTV
Health Insurance
Heart Disease
Hobbies
Holiday
Home Business
Home Improvement
Home Organization
Interior Design
Internet Tips
Investment
Jewelry
Kitchen
Ladies Accessories
Lawyer
LCD / PLASMA
Legal
Life Insurance

Return to Articles about Web Development

What the hex goin' on here?

by: Ben Gordon
When editing an HTML document or graphic image for the Internet, you may encounter a color code similar to #FFFFFF. You can easily manipulate a sequence like this with a web palette or image-editing software. But by examining it more closely, you can gain valuable insight into the displays generated by electronic media such as computers and televisions.

In the traditional analysis you're probably familiar with, red, blue, and yellow are considered "primary" because no other colors are used to create them. "Additive" colors result from some combination of these. For example, purple is produced by mixing red and blue.

Electronic media, on the other hand, work with light, not paint. The visible spectrum ranges from red (infrared) to green to blue (ultraviolet). In the same way a prism separates the rainbow of colors, a computer screen can break down and display the component parts of white light. In a process known as subtractive synthesis, a color is created by removing its complement.

In a six-character color code, the first two figures indicate the amount of red present, the second two are a measure of green, and the final two describe a level of blue. These codes employ a hexadecimal numerical scheme, wherein the letters A through F account for the final six increments. Looking at the example offered above, the designation #FFFFFF indicates that red, green, and blue are all fully present, and therefore white is displayed. At the other extreme, #000000 denotes black; no color is exhibited.

For instance #FFFF00 would represent yellow. Notice the red and the green are at full tilt. There is no blue. By mashing the red and green up against each other, the red cancels out the blue and all that is left is the yellow. It's actually a subtractive color method being employed in an additive world.

Another example can be DC143C. This code creates a shade of red called "crimson." The red setting, DC, is pretty intense. There's not much green. Blue is set a little less than halfway up. As you can see easily hexadecimal code is just about adjusting the right hue. Considering the 3 different colors with, 00 to FF, 256 different hues; we end up with 256-3 different colors which explain our 64 bit representation of colors.

So the next time you’re in need of riveting conversation, you can bring up your new knowledge about Hex codes for colors.


About the author:
Ben Gordon currently writes at several web coding/development forums and lists, including one he co-owns with other members of a web development team at http://webxpertz.net/forums. He is presently promoting a new reprint article directory http://articles.webxpertz.net/content/to assist webmasters with the difficult task of finding fresh content for their websites.


Circulated by Article Emporium

 

New! Watch Online Articles with YouTube for Free:

 

 

 

 

Click Here to Return to Top of Page