
|
|
Colors are used in almost every aspect of HTML. They are used for backgrounds, text colors, border colors, and many other things. Colors in HTML can be specified in two different ways; color name and in hexidecimal RGB values.
Specifying colors by name is easier for most people since it involves knowing only the color's name. The color names that are supports by HTML can be found on our Color Names Table. Many commonly used colors are supported by this method. To implement a color using its name, you simply type the name of the color into the attribute that you are assigning color to (Example: BGCOLOR="steelblue")
Even though color name are easy to remember, they are not always the best choice when it comes to specifying colors for your web site. This is because there are many colors that are not named. In order to access these colors you need to find the RGB coding for the color you need. RGB values specify how much Red, Green, and Blue are contained in the color you desire. All RGB color values in HTML are written in hexidecimal notation (base 16). Hexidecimal is a numbering system that consists of the neumber 0-9 and the letters A-F. Letters are assigned higer valuse than numbers. F is the highest value and 0 is the lowest. If you looked at the Color Names Table you might have noticed that it lists the RGB values for each of the colors that it shows. All RGB values are perceeded with a number sign (#). This tells the browser that the value that follows it is a hexidecimal value and not the name of a color. Directly following the number sign is a sequence of six hexidecimal numbers. The first two sepcify red, the second two specify green, and the third two specify blue.

By changing any of these numbers, you can increase or decrease the ammount of reg, green, or blue in a color. There are many applications availible for download that will compute RGB values for you. Among these are Color Picker Pro for the Macintosh and Web Designer's Color Tool for Windows. Our Color Hex Values Table shows the RGB coding for most web colors.
 
|
|
|