Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development

This chapter is from the book

This chapter is from the book

Working with the Color Table

In the lower portion of the Optimize panel, you can find the Color Table (see Figure 5.4). The Color Table panel gives you information about the status of colors in your document. When you view it in the Preview, 2-Up or 4-Up tabs of the Document window and the image or selected slice is optimized in one of the several 8-bit formats.

The Color Table contains your document's swatches. These swatches can contain different attributes, marked as follows:

  • A square in the lower-left corner of a swatch indicates that this color has been altered by the Edit Color button or menu command found under the Options pop-up menu. The edited color will only be included in the palette of the exported index color image, while the Fireworks source PNG will remain unchanged.

  • A square in the lower-right corner of a swatch indicates that the color is locked.

  • A locked color in the Color Table remains in the current image's or slice's palette, no matter what changes you make to the image. Locking a color allows users to force images or slices that use this locked color to maintain the same exact color across many images. This is important when using an adaptive palette, where the same color in a sliced image can be dithered to a color that is close, but not exactly, the same across slices in the image. This can be caused by changes in the elements in the slice that affect other colors within that slice.

  • A checkerboard square across the swatch indicates that the color is transparent.

  • The diamond configuration in the middle of the swatch indicates that the color is a web-safe color.

  • Swatches with more than one indicator mean that the color has multiple attributes.

Figure 5.4Figure 5.4 The lower portion of the Optimize panel is expanded to reveal the Color Table. Color-attribute indicators give feedback about colors within the document.

Custom Swatch Groups

To create a custom swatch group using the Color Table, follow these steps:

  1. Open the Optimize panel if it is not already opened.

  2. Create a new file (at 500 x 500 pixels at 72 ppi). Set the canvas to anything you want.

  3. In your file, draw a series of different-colored rectangles on the canvas (see Figure 5.5).

  4. Figure 5.5Figure 5.5 Rectangles that have been drawn on the canvas.

  5. Expand or tear out the Options panel. Notice the Color Table in the lower half of the panel.

  6. Add a new shape with a new color to the canvas.

  7. Click the Rebuild button (see Figure 5.6).

  8. Figure 5.6Figure 5.6 The opened Optimize panel with the Color Table.

    Notice that the colors in the table update to match the colors on the canvas. The number of colors replaces the Rebuild button (see Figure 5.7).

    Figure 5.7Figure 5.7 The number of colors replaces the Rebuild button.

  9. Select the Options pop-up menu.

  10. Choose Save Palette. The Save As dialog box appears (see Figure 5.8), which allows you to name and save your palette as an .act (Color Table) file.

  11. Figure 5.8Figure 5.8 The Save Palette option from the Options pop-up menu.

  12. Click Save and save your palette in the appropriate folder (see Figure 5.9). I save my palettes with the projects to which they correspond. Some people like to save their palettes inside the Fireworks program folder.

Figure 5.9Figure 5.9 Saving a Color Table (.act) file in the Save As dialog box.

Load Palette

To use the newly created palette with a new document, follow these steps:

  1. Create a new document.

  2. Click the Options pop-up arrow from the Optimize panel and choose Load Palette (see Figure 5.10).

  3. Figure 5.10Figure 5.10 The Load Palette option from the Options pop-up menu.

  4. Navigate to the .act file that you saved and select it (see Figure 5.11). (You can also use a GIF image.)

  5. Figure 5.11Figure 5.11 The Open dialog box, loading a Color Table (.act) file.

  6. Double-click it or click Open to load it.

  7. The Color Table of your new empty document now contains the swatches from the palette you saved and loaded (see Figure 5.12). To use this palette as your swatches for use in the document, open the Swatches panel, click the Swatches Panel options pop-up arrow, and choose Current Export Palette. Now, all the Color box pop-up windows have only the colors that are in the Color Table. You're all set to control the colors used in the image.

  8. When you open an existing document that already contains many colors, the Color Table panel initially appears empty.

Figure 5.12Figure 5.12 The Color Table of an existing document with empty swatches on the Optimize panel.

You can activate the Color Table in the Optimize panel in two ways:

  • Click the Preview tab in the Document window (see Figure 5.13). The Color Table builds based on the default setting of GIF Web Snap 128, which places 128 colors in the Color Table. When you click the Original tab, you see that the Color Table stays loaded with this file's swatches.

  • Figure 5.13Figure 5.13 You can activate the Color Table by clicking the Preview tab.

  • As previously mentioned, you can also use the Rebuild button at the bottom of the Optimize panel.

NOTE

Refer to Figure 5.6. It shows the opened Optimize panel with Color Table displayed and the Rebuild button circled.

Identifying and Sampling Specific Color Values

Times can arise when you need to know the value of a specific color. By using the Info panel, you can view a color's RGB, hexadecimal, HSB, or CMY values (see Figure 5.14).

Figure 5.14Figure 5.14 The Info panel Option pop-up menu displays the color mode choices.

Use the Info panel Option pop-up menu to set the color mode that you want to display.

Another neat feature about sampling colors is this: Using the Eyedropper tool, you can view the color value of any visible object in any open application in the Color box pop-up window. Another way to do this is to use the Color box pop-up window, or you can use the Color Mixer. If you move the pointer or the eyedropper cursor around your screen, you can examine the color value of objects within your document (see Figure 5.15).

Figure 5.15Figure 5.15 The Info panel displays a specific color value.

Within Fireworks, you can view the color value of a selected vector object's stroke and fill colors in the Property Inspector, the Color Mixer, or the Color box.

Let the truth be told: It is the Property Inspector, which is new in Fireworks MX, that is the main command and control center for creating and applying fill and stroke.

By using the Property Inspector, you can infinitely experiment with and apply fills and strokes to your vector objects. Here's the drill:

  1. Select the Pointer tool or the Subselection tool from the Tools panel. You want to click the objects that are within groups by using the Subselection tool.

  2. Click a vector object within your canvas.

  3. Look at the Property Inspector. It shows you the fill and stroke properties of the selected object.

In Figure 5.16, I selected a star that contains a fill of green, with an anti-aliased edge and a 13-point black stroke set to soft, edge 50, and a texture grain of 30 percent. Currently, no effects are applied to the star.

Figure 5.16Figure 5.16 The Property Inspector displays the fill and stroke attributes for the selected vector star.

Setting the Fill Color

To set the fill color for any of the basic shape tools using the Property Inspector, follow these steps:

  1. Click the Color box in the Property Inspector. The Color Cube pops up.

  2. You can choose one of the following:

    • Choose a color from it.

    • Choose no color.

    • Move the cursor over an object on the canvas. The cursor displays the eyedropper. Position the cursor on top of the object that contains the color you want to use and click.

    • Click the color wheel to choose the system color picker.

It's good to know that you can change the value system that's displayed in the Color Mixer or in the Property Inspector. The default for the Info panel is Hexadecimal. Although the Info panel displays the letters R, G, B, and Alpha, the default color space is actually Hexadecimal. Additionally, the Color Mixer's default is Hexadecimal.

NOTE

You can also choose the fill settings to use with the Paintbucket tool when filling pixel selections. All the features described in this section are also applicable to the Paintbucket tool's fill options.

Modifying Fills

Of course, after you set the fill of an object, you're going to want to change it, right?

You can control the edges of your fills, specifying hard, anti-alias, and feathered edge options, along with feather distance. You can also set a texture, specifying it's percentage in amount. (A texture works like a grayscale mask.) The Amount field enables you to specify the brightness of the mask, which, in turn, determines the amount of texture applied to the object's fill.

Five basic categories of fills exist (see Figure 5.17). Each category is covered in detail in the following sections.

Figure 5.17Figure 5.17 The five main fill categories.

Changing the Fill Category

Within web dither, pattern, and gradient, you can specify a number of variances:

  1. Select an object to fill by using the Pointer tool from the Tools panel.

  2. Click the Fill Category pop-up menu in the Property Inspector (see Figure 5.18).

  3. Select one of the five options.

  4. Obviously, selecting None sets the fill color to no color.

Figure 5.18Figure 5.18 The Fill Category pop-up menu in the Property Inspector.

Web Dither

Times might arise when you want to use a color that's not in the 216 web-safe color palette, but you still want the color to look its best and to avoid ugly dithering. This situation calls for the use of web dithering.

Web dither mixes two web-safe palette colors and combines them to simulate a color that's not in the palette. Note that creating a web dither can impact your file size. You can use a web-safe color, a non-web-safe color, and you can also use transparency to create an image that appears translucent to a background color or image when it's placed on a web page—more about this later.

To use web dither, follow these steps:

  1. Select an object containing a non-web-safe color by clicking it with the Pointer tool.

  2. Select the Web Dither option from the Fill panel's Fill Category pop-up box. The object's current fill displays in the color well to the right of the fill type (see Figure 5.19).

  3. Notice the four checkerboard Color boxes beneath the sampled color.

Figure 5.19Figure 5.19 The Web Dither Options pop-up box.

These two web-safe colors dither together to simulate the original non-web-safe color. The web dither appears on the object and becomes that object's fill color.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020