2 Domain Hosting

Web Site Design | Web Site Promotion | Web Hosting | Domain Name Registration

Selecting Colors by Values

Selecting colors by their values ensures precise, consistent color throughout your web page. Dreamweaver allows you to select a color by specifying a hexadecimal, RGB, or HSL value. In this document, you will learn how to a select a color by entering its value as well as the values of some common colors.

return to topEntering Color Values: Hex Values

Every color has a hexadecimal (hex) value. When designing a web page, you may need to use a specific color (e.g., the Blugold colors). To simplify the process of choosing colors and to assure that the colors you choose are correct, you may enter a specific color's hex value.

Color values begin with the pound symbol ( # ) and are followed by a six-digit code. Each hex color value is made up of three 2-digit codes with each 2-digit code representing the amount of red, green, or blue combined to create the color. A color value that starts with 00 has no red and a color value that ends in 00 has no blue. A color value beginning with FF has full red and a color value with FF as its middle pair of digits has full green. For example, the hex value for blue is "#0000FF" (no red, no green, full blue).

  1. Select the desired element

  2. From the Properties pane, place your insertion point in the Color text box
    Dreamweaver Color Text Box

  3. Type the 6-digit hex value for the desired color, beginning with the pound symbol ( # ) (e.g., "#FF0000")
    OR
    Type a standard color name (e.g., Red)

  4. Press [Enter]

return to topEntering Color Values: RGB or HSL

The acronym RGB stands for Red, Green, and Blue. Video monitors use light to create colors according to the RGB system. Monitors have three "guns" inside that "shoot" red, green, and blue light to every pixel on the screen. The computer blends these three light beams together in varying proportions to create the range of colors displayed.

The acronym HSL stands for Hue, Saturation, and Luminosity. Hue refers to the shade or tint of a color. Saturation refers to how dull or vivid a color appears. Luminosity refers to the brightness of a color.

  1. Select the desired element

  2. From the Properties pane, click the appropriate color box
    Dreamweaver color box
    The Color palette appears
    Dreamweaver color palette

  3. From the Color palette, click CUSTOM COLORCustom Color Button
    The Color dialog box appears.
    Color dialog box

  4. From the Color dialog box, in the Red, Green, and Blue text boxes, type the desired value of each color
    OR
    In the Hue, Sat, and Lum text boxes, type the desired value of each color
    NOTE: As you alter the values, you will see the color change in the Color/Solid box.

return to topColors and Their Values

Here is a list of common colors and their values:

NOTE: For a more complete list of colors and their values, as well as a list of web safe colors, go to Web Development's Web Color Swatches page.

UW-Eau Claire Colors                                 

Color Name

Value

    Hex HSL RGB
Navy blue color sample Navy Blue  00,00,66 160,240,48 0,0,102
Old gold color sample Old Gold FF,CC,00 32,240,120 255,204,0

Common Colors

Color Name Value
    Hex HSL RGB
Blue color sample Blue 00,33,CC 150,240,96 0,51,204
Green color sample Green 00,99,00 80,240,72 0,153,0
Violet color sample Violet 99,00,99 200,240,72 153,0,153
Olive color sample Olive 33,66,00 60,240,48 51,102,0
Orange color sample Orange FF,66,00 16,240,120 255,102,0
Pink color sample Pink FF,99,99 0,240,192 255,153,153
Yellow color sample Yellow FF,FF,66 40,240,168 255,255,102
Red color sample Red FF,33,33 0,240,144 255,51,51
Purple color sample Purple 66,33,99 180,120,96 102,51,153
Gray color sample Medium Gray CC,CC,CC 160,0,192 204,204,204

 

Articles

Domain Name Registration - Free Web Hosting Email Tips and Tricks -  Home Based Web Business - Work at Home - Chat Rooms  - Voice Chat - Cell Phone - Phone Calls - Love Dating - Online Dating Services