- Feb 14, 2003
- Getting started
- Creating a new Web site
- Adding files to the Web site
- Creating a component to be used as a navigation bar
- Adding a layout grid
- Aligning and distributing multiple objects
- Adding text using a table
- Creating a custom color palette and adding color to text
- Specifying keywords
- Adding a component to an existing Web page
- Updating the custom color palette
- Designing a Web page using floating boxes
- Editing a component
- Previewing in GoLive
- Review questions
- Review answers
Creating a custom color palette and adding color to text
You can collect and organize colors for a site in the Colors tab of the site window. The colors appear in both the Colors tab and the Site Color List in the Color palette, either of which you can use as a custom color palette to color text and objects on a page. When you change a site color in the Colors tab, GoLive automatically updates every occurrence of the color in the site on pages that are closed.
As an alternative to applying color using the Colors tab or the Color palette, you can create a cascading style sheet to apply color to text and objects. Cascading style sheets simplify the maintenance of text and other attributes on a page and throughout a site.
Now you'll add color to emphasize text on the page.
In the site window, click the Colors tab to bring it to the front. So that you can see all the information listed in the Colors tab, close the right pane of the site window by clicking the double-headed arrow () below the scroll bar for the left pane.
Notice that the Colors tab contains a New Colors folder that contains a site color named white, which is used as the default background color for the home page.
Choose Window > Color, or click the Color tab to open the Color palette.
In the Color palette, make sure that the Web Color List button () is selected. In the Value text box, enter 990000. Press Enter or Return.
The selected color appears in the vertical preview pane on the left side of the Color palette.
Drag the color from the preview pane, and drop it on the New Colors folder.
In the Colors tab of the site window, click the name of the untitled color to select it. Enter emphasis to rename the color.
Now you'll color some of the text on the page using the emphasis color.
In the document window, drag to select the text "Check Out This Week's Hottest Buy!"
Drag the emphasis color from the Colors tab of the site window to the selected text on the page. Then click in the blank area outside the selected text to deselect it.
The color of the selected text changes to red.
You can use the Color palette's eyedropper to extract a color from an image or other element on the screen. Then you can find the closest Web-safe approximation of the color in the Web Color List and add the color to the Colors tab. This feature is useful when you want to match the color of two objects on a page, such as an image and page background.
Now you'll add another untitled color to the Colors tab, extract a color from the company logo in the component on the page, and add a Web-safe approximation of it to the Colors tab.
Drag the Color icon from the Site set () in the Objects palette, and drop it on the New Colors folder in the Colors tab of the site window.
An untitled color is added to the New Colors folder. Now you'll extract a color from the company logo.
Move the pointer to any color swatch in the Color palette, so that the pointer turns into an eyedropper.
Drag the eyedropper from the Color palette to the shadow of the guitar pick on the page, and release the mouse. Notice that the color changes in the preview pane of the Color palette as you drag the eyedropper.
When you release the mouse, the extracted color appears in the preview pane, and the Web-safe colors that most closely match it appear at the top of the list on the right side of the palette. Ours was 999966.
Now you'll change the untitled color in the New Colors folder to the selected color.
Drag the color from the preview pane to the untitled color in the New Colors folder.
You'll rename the color "shadow" because that's how it's currently used in the site.
In the Colors tab of the site window, click the name of the untitled color to select it. Enter shadow to rename the color.
In the Web Safe column of the Colors tab in the site window, notice that the shadow color has a bullet, indicating that it's Web safe.
If desired, you can now match the color of text or an object on the page with the shadow color.
Choose File > Save to save index.html.
An untitled colorthe color you selected in the Color paletteis added to the Color tab. Now you'll rename the color according to how you'll use it in the site. Because you'll use the color to emphasize text, you'll name the color "emphasis."
Now you'll add keywords, comments, and a date and time stamp to the home page.