# Replacing Colors

/text/sdraw/guide/eyedropper.xhp
eyedropper tool
colors; replacing
replacing;colors in bitmaps
metafiles;replacing colors
bitmaps;replacing colors
GIF images;replacing colors
Replacing Colors
You can replace colors in bitmaps with the Color Replacer tool.
Up to four colors can be replaced at once.
You can also use the Transparency option to replace the transparent areas of an image with a color.
Similarly, you can use the Color Replacer to make a color on your image transparent.
To replace colors with the Color Replacer tool
Ensure that the image you are using is a bitmap (for example, BMP, GIF, JPG, or PNG) or a metafile (for example, WMF).
- Choose Tools - Color Replacer.
- Click the Color Replacer icon and position the mouse pointer over the color you want to replace in the image. The color appears in the box next to the icon.
- Click the color in the image. The color appears in the first Source color box and the check box next to the color is selected.
- In the Replace with box, select the new color.
  This replaces all occurrences of the Source color in the image.
- If you want to replace another color while the dialog is open, select the check box in front of Source color in the next row and repeat steps 3 to 5.
- Click Replace.
If you want to expand or contract the color selection area, increase or decrease the tolerance of the Color Replacer tool and repeat your selection.
Color Replacer