Replacing Colors in an Image
ColorReplace80x80With the Replace Color command, you can create temporary masks based on specific colors and then replace these colors. Let's learn about it in this tutorial!

 

The Replace Color dialog box contains options for adjusting the hue, saturation, and lightness components of the selection: Hue is color, saturation is the purity of the color, and lightness is how much white or black is in the image.

You'll use the Replace Color command to change the color of the tulip in the image we've been correcting throughout this lesson. Here is the original image, you can download and practise with it.

ColorReplace1a.jpg

 
1.
Select the Rectangular Marquee tool (ColorReplacement1 ), and draw a selection border around the yellow tulip in the foreground of the image. Don't worry about making a perfect selection, but be sure to include all of the yellow flower.

 ColorReplace2

2.
Choose Image > Adjustments > Replace Color.

The Replace Color dialog box opens, and by default, the Selection area displays a black representation of the current selection.

Notice the three eyedropper tools in the Replace Color dialog box. One selects a color; the second adds a color to the sample; the third removes a color from the sample.

A. Eyedropper tool B. Add To Sample eyedropper C. Subtract From Sample eyedropper

 ColorReplacement3

 
 3.
Using the Eyedropper tool (ColorReplacement4 ), click anywhere in the yellow tulip in the image window to sample that color.
ColorReplace5
ColorReplace6
 
4.
Then, use the Add To Sample eyedropper (ColorReplacement7 ) to sample other areas of the yellow tulip until the entire flower is selected and highlighted in the mask display in the Replace Color dialog box.
ColorReplace8
ColorReplace9
5.
Drag the Fuzziness slider up to 45 to increase the tolerance level slightly.

Fuzziness controls the degree to which related colors are included in the mask.

6.
If the mask display includes any white areas that are not part of the tulip, get rid of those now: Select the Subtract From Sample eyedropper (ColorReplacement10 ) and click those areas in either the image window or in the Replace Color mask display to remove those stray pixels. (It's OK if a few remain in the selection.)

7.
In the Replacement area of the Replace Color dialog box, drag the Hue slider to –40, the Saturation slider to –10, and leave the Lightness slider at 0.
ColorReplacement11

As you change the values, the color of the tulip changes in hue, saturation, and lightness, and the tulip becomes red.

ColorReplace12
8.
Click OK to apply the changes.

 
9.

Choose Select > Deselect, and then choose File > Save.



Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!
Comments
tuananh 04-14-2008
Wow simple but effective!
thank you!
tjorn 05-06-2008
Very simple , but very cool!
enonomouse 05-27-2008
i like your flower its great from a high school student
Write comment
Name:
Due to spam comments will be reviewed before being published

DOWNLOAD

Free Icons