You use the color table in the Save For Web & Devices dialog box to customize the colors in optimized GIF and PNG‑8 images. Reducing the number of colors often preserves image quality while reducing the file size of the image.
You can add and delete colors in the color table, shift selected colors to web‑safe colors, and lock selected colors to prevent them from being dropped from the palette.
Choose a sorting order from the Color Table palette menu:
You can add colors that were left out in building the color table. Adding a color to a dynamic table shifts the color in the palette closest to the new color. Adding a color to a fixed or Custom table adds an additional color to the palette.
Click the Eyedropper Color box in the Save For Web & Devices dialog box and choose a color from the color picker.
Select the Eyedropper tool in the Save For Web & Devices dialog box and click in the image.
Click the New Color button in
the color table.
Select New Color from the Color Table palette menu.
The new color appears in the color table with a small white square in the lower right corner, indicating that the color is locked. If the color table is dynamic, the original color is displayed in the upper left and the new color is displayed in the lower right.
A white border appears around selected colors in the Color Table.
You can change a selected color in the color table to any other RGB color value. When you regenerate the optimized image, the selected color changes to the new color wherever it appears in the image.
To protect colors from dithering in a browser, you can shift the colors to their closest equivalents in the web palette. This ensures that the colors won’t dither when displayed in browsers on either Windows or Macintosh operating systems capable of displaying only 256 colors.
Click the Web Shift button in
the Color Table palette.
Choose Shift/Unshift Selected Colors To/From
Web Palette from the Color Table palette menu.The original color
appears at the upper left of the color swatch and the new color
at the lower right. The small white diamond in
the center of the color swatch indicates that the color is web‑safe;
the small square at the lower right of the color swatch indicates
that the color is locked.
Select a web-shifted color in the color
table and click the Web Shift button in
the Color Table palette.
To revert all web-shifted colors in the color table, choose Unshift All Colors from the Color Table palette menu.
You can add transparency to an optimized image by mapping existing colors to transparency.
Click the Map Transparency button in
the Color Table palette.
Choose Map/Unmap Selected Colors To/From Transparent from the Color Table palette menu.
The transparency grid appears
in half of each mapped color. The small square at the lower right
of the color swatch indicates that the color is locked.
Select the colors you want to revert and
click the Map Transparency button or
choose Map/Unmap Selected Colors To/From Transparent from the Color Table
palette menu.
To revert all transparency-mapped colors, choose Unmap All Transparent Colors.
You can lock selected colors in the color table to prevent them from being dropped when the number of colors is reduced and to prevent them from dithering in the application.
You can delete selected colors from the color table to decrease the image file size. When you delete a color, areas of the optimized image that previously included that color are rerendered using the closest color remaining in the palette.
When you delete a color, the color table automatically changes to a Custom palette. This is because the Adaptive, Perceptual, and Selective palettes automatically add the deleted color back into the palette when you reoptimize the image—the Custom palette does not change when you reoptimize the image.
Click
the Delete icon .
Choose Delete Color from the Color Table palette menu.
You can save color tables from optimized images to use with other images and to load color tables created in other applications. Once you load a new color table into an image, the colors in the optimized image are changed to reflect the colors in the new color table.