F1 | Design | Graphics | HTML | JavaScript | Optimization | Servers | Stylesheets >> Websafe Colors
F1 Function One Webhelp
The Guide For Web Development

Search F1

Advanced Search

F1
>> About Us
>> Site Map
>> Search

Design
>> Design Tips
>> Websafe Colors
Graphics
>> Graphics Tips
HTML
>> HTML Dictionary
JavaScript
>> JavaScript Codebank
Optimization
>> Build Your Own Computer
>> Optimization Tips
Servers
>> Security Issues
>> Starting a Server
Stylesheets
>> Stylesheet Basics

Websafe Colors

Lark Anderson

If you're going to design website, you must know about color, and to know about color, you must understand websafe colors. As you may know, HTML renders colors based on hexidecimal notation, which looks like this: #RRGGBB. Each set of numbers represents a single color, and the colors are red, green, and blue. All other colors are mixed from these colors, but keep in mind that this mixing doesn't work like the color wheel you probably knew as a child.

Hexidecimal is a base 16 notation, and thus there are sixteen possible values for a number, ranging from 0 to F, and where 0 is absolute lack of that color, and F is the maximum of that color that may be created.

Unfortunately, web browsers can only accurately depict colors that are made from combinations of 00, 33, 66, 99, CC, or FF. This amounts to a total of 216 "websafe colors."

Go on

Websafe Colors
>> The 16 colornames
>> The 216 websafe colors

Do you want to print this article? Use this version then.
  All material is copyrighted by it's respective owner. Copyright © 1999 F1 Web Help Group. All Rights Reserved.