HTML color code
For an Internet
browser to determine how to display a web site it needs to know how it
was created. HTML color code gives Internet browsers the
instructions needed for them to be able to display the color elements of
a webpage.
A basic HTML color
code mistake made by novis web developers is thinking that colors will
appear the same on every web browser. Unfortunately formatting HTML
color code in a text editor doesn't display the same in every
browser. Also, some individuals may have older systems that have a
limited color display and are unable to see certain colors.
In most cases, the
most basic colors can be combined to customize a website without risking
your colors not showing up in a particular browser. If you use
HTML frames you can use separate colors
in each frame.
HTML color codes are
written in hexadecimal notation which identifies the color. The lowest
value that can be given to one color is zero (hex #00) and the highest
value is 255 (hex #ff).
There are a total of
more than 16 million different colors of Red, Green and Blue values
ranging from 0 to 255. Most PC monitors are only capable of displaying
16384 different colors.
In the past
most computers only supported 256 different colors with only 216 being
“Web Safe Colors”. A safe rule of thumb when choosing color
combinations from the HTML color code is to test and test again.
|