Replacing Colors

Replacing Colors

Here’s your chance to make that purple cow — the one that people always prefer to see, rather than be. The Color Replacer tool is your companion in creative cow coloring.


Color replacement, like most Paint Shop Pro actions, works on only the active layer and within any selection you may have made. If you have chosen to use layers in your image, make sure that you’re working on the correct layer during the following steps, or else replacement may not work.

Here’s how to put new hue in your moo:

  1. Click the Color Replacer from the Color Selection toolset.

    Your cursor becomes a brush shape. As with the Paint Brush and other painting tools, the brush size, shape, and other properties are controlled by the Tool Options palette. See “Controlling Strokes, Sizes, Shapes, and Spatters: Tool Options,” earlier in this chapter.

  2. Hold down the Ctrl key and right-click in your image on the color you want to replace.

    The Background Material box takes on this color.

  3. Again, hold down the Ctrl key and left-click your new, replacement color, either in the image or in the Available Colors of the Color palette.

    The Foreground Material box takes on this color. Alternatively, you can use any technique we describe in Chapter 3 to set a new foreground material, complete with textures and gradients and whatnot.

  4. To replace the color in specific areas, drag across those areas. Double-click anywhere to replace the color everywhere.

    Like most tools, the Color Replacer tool’s action is constrained by layers and selections. If you have used layers in your image, color is replaced only throughout the active layer. If you have a current selection, replacement happens only within that selection.

The Color Replacer tool replaces a range of colors that are close to the one you picked to be replaced. Adjust the Tolerance setting on the Tool Options palette to control closeness. (Press F4 if you don’t see the Tool Options palette.) The larger the Tolerance setting, the broader the range of colors the Color Replacer tool replaces. If you’re replacing a single, uniform color, set the tolerance to zero. If you’re purpling a cow in a photograph, you need to replace a range of browns (or blacks, or whites, depending on the cow). Set the tolerance higher in that event; try 25 or so, to start. In short, do this:

  • If the Color Replacer tool replaces more than you want, decrease the tolerance. Press Ctrl+Z to undo the overenthusiastic replacement, and then drag or double-click again.

  • If the Color Replacer tool doesn’t replace enough, increase tolerance and then drag or double-click again.

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows