|
About the Internet About Web Browsers Why Domain Names HTML vs XHTML Making Webpage Files Naming Webpage Files About HTML Tags Basic HTML Page DTDs and Doctype Tags Spaces and New Lines Special Characters Bold, Italics, More Writing Headlines Adding Links Making Lists Comments in HTML How to Add Images Sources of Images Image File Formats Optimizing Images Color in HTML & CSS "Web-safe" Color Chart Making Tables Formatting with Tables Making Forms Using Imagemaps Using Frames Meta Tags Intro to CSS Ways to include CSS Some Useful CSS CSS Hover for Links Promoting Your Site How-To's Homepage Links |
Color on the Web - RGB numbers and web-safe colorsSpecifying RGB ColorsColors in web pages are specified using 6 digit numbers. These numbers are hexadecimal numbers, that is base-16 numbers, often called hex numbers for short. The letters a-f are used to represent the numbers 10-15. RGB stands for Red - Green - Blue. All colors on your computer monitor are made by mixing light in these three colors.
The more total light in a color the lighter the shade. The less total light in the color the darker it is.
Web safe colors are those where each color component (red, green, blue) has a value of : 00, 33, 66, 99, cc, or ff. To see all of the web safe colors take a look at the color chart. Additional help in picking colors that work well together is available from sites on the resource page. It is possible to specify other colors. You may even get lucky with them, but you run the risk that they will come out very different than you expect on other peoples browsers and monitors. Use enough contrast. On Macs colors usually look lighter, on PC's they look darker. There is also some variation between different video cards and monitors. If you want everyone to be able to read your page, don't get too subtle. This is one reason it's good to get feedback on how your page looks in different browsers and different computers. |


