ThePlace

Home ] Search ] Resources ] Site Map ] Contact Me ]
Dave's Information Technology Resource

Up ]

Graphic Tips ] Graphic File Format Comparisons ] Animated GIFs ] Transparent GIFs ] Image Maps ] [ Safe Colors ] Scanners, Cameras, etc ]

--- Safe Colors ---

Operating systems don't define or render all colors identically.

Fortunately, out of the multitude of colors, there are 216 colors that are identically defined and rendered across operating systems.

HTML uses a hexadecimal number to express color values...it is made up of three values: red, blue, and green in concentrations ranging from 0 to 255 (decimal) or 0 to FF (hexadecimal)

For example blue is #0000FF.  To illustrate the point...

this is blue -- the HTML to make it blue is... <font color="#0000FF">this is blue</font>

this is white -- the HTML to make it white is... <font color="#FFFFFF">this is white</font>  (okay, so putting white text on a white background is silly)

Notice that the highest concentration of all color #FFFFFF is white, while black is #000000

By the way there are 256 X 256 X 256 color combinations (that's a little over 16 million possibilities).

There are only six hexadecimal color values that form a web-safe color. Therefore, if you memorize the following six hexadecimal color values, you can easily discern if a color is Web-safe.

00 33 66 99 CC FF

Web-safe 

CC3300

660099

 

Not Web-safe

CD3400

650098

 

This does not mean that even these are 100% reliable or that any other combinations will not work, just be aware that there are subtle differences that could haunt your efforts!

 

 

Home ] Up ] Computer Architecture ] Programming Bootcamp ] Database Bootcamp ] Visual BasicS ] Web Basics ] Web Multimedia ] Web Programming ] Advanced Web Topics ] Developing Web Sites ] XML Technology ] Web Glossary ]

Copyright © 1999 - 2005 
ThePlace - Written and Sponsored by Dave Hillman