Replace the Photoshop color with white. Description of the Color Replacement tool in Photoshop

Changing colors

Team Replace Color creates a temporary mask around specified colors and then replaces them with other colors. The principle of a team is in many ways similar to a team Color Range. Let's see the action of this command using an example. Open the graphic file (Fig. 3.29).


Rice. 3.29. Original image

Select a team Image | Adjustments | Replace Color. In the window that appears as a result of executing the command, select the switch Selection to see the mask in the preview window. Check the box Preview to see how the color adjustment will be reflected in the image. Tool Pipette Click on the darkest part of the background. Part of the background has been highlighted. If you click not the background, but the flower, then the color of the flower will not be replaced, but the color of the flower will be replaced - fig. 3.30.


Rice. 3.30. Example of replacing object color

Select the middle pipette Add to Sample and click it on an adjacent area of ​​the background several times until almost the entire background turns white. Increase the slider value Fuzziness. If after this there are still unselected areas, click on them with the eyedropper with the plus sign. Changing the position of the sliders Hue, Saturation And Lightness you can change the background color in a wide range of colors.

Namely about the team Replace color. This tool is located in the menu.

Let's look at the dialog box.

At the top Selection There is a tab from the “Color range”.

Using an eyedropper, a sample of the color that needs to be changed is marked on the picture sample. Pipette with plus adds an area pipette with minus- subtracts.

Setting the parameter Fuzziness.

Using the slider, you define the boundaries within which the color shades will change. With maximum variation, the replacement will include almost all shades of the selected color present in the image. With minimal scatter, only those pixels that exactly match the sample will be replaced.

An additional option has been added to Photoshop CS4 Localized Color Clusters, designed to define areas of the same color. Its use allows you to more accurately highlight the color in the image.

In the lower part Replacement In the “Replace Color” dialog box, there is a tab from “Hue/Saturation”, with the help of which, based on the name, you select the color and shade to replace.

Let's look at color replacement using a specific example.

Step 1.

Open the image in Photoshop. We immediately create a duplicate of the main layer.

Step 2.

Let's go to Image - Correction - Replace Color. I want to change the color of my T-shirt.

Step 3.

If you have CS4, then immediately put a tick opposite Localized Color Clusters. I increase the Scatter to the maximum value. Using an eyedropper, mark an area on the image. Next, I choose the color I want to change to. I click on the colored square labeled “Result” and select the shade I need.

It can be seen that in the shadow area the color is not highlighted enough. I select the Eyedropper “+” and click on the image in the area of ​​the folds on the T-shirt.

The T-shirt was completely dyed, but at the same time, unnecessary areas, for example, the face, were dyed. I select the Eyedropper “-” and click it in the face area.

As you can see in the image itself, the lips and ears are still painted; this defect can be corrected with the help of an eraser.

This color changing method works most successfully on contrasting images. Also in images where there are few related shades to the color being changed.

And finally, one more piece of advice. If the image still contains several areas of the same color, and only one of them needs to be changed, for example, then before using the command Replace color, you should highlight the area that requires color replacement. Any selection tool can help you with this.

I wish you success!
Always for you: website
Do you have a desire to show the results of your work? Post your work on our forum!

Dear site visitors who took the time to read this lesson. We would really like to know if you liked it and if it was useful to you. Don't be lazy to leave a comment. Thank you in advance.


Consider the dialog box

At the top " Selection" (Select) is a tab from " Color range».

Using an eyedropper, a sample of the color that needs to be changed is marked on the picture sample.

The plus pipette adds an area, the minus pipette subtracts.

Setting the Fuzziness Setting

Using the slider, you define the boundaries within which the color shades will change. With maximum variation, the replacement will include almost all shades of the selected color present in the image. With minimal scatter, only those pixels that exactly match the sample will be replaced.


Since version Photoshop CS4 there is an additional option “ Localized Color Clusters» (Localized Color Sets), designed to identify areas of the same color. Its use allows you to more accurately highlight the color in the image.


In the lower part " Replacement" (Replacement) dialog box " Replace color"(Replace color) is the tab from " Hue/Saturation» (Hue/Saturation), with which, based on the name, you select the color and shade to replace.

Let's look at color replacement using a specific example

Step 1

Open the image in Photoshop. Immediately create a duplicate of the main layer (Ctrl+J).


Step 2

Go through the menu " Image - Adjustments - Replace Color» ().

Let's say I want to change the color of my T-shirt.

Step 3

If you have a version from Photoshop CS4 and above, then immediately put a tick in front of “ Localized Color Clusters» (Localized color sets).

Increase " Fuzziness» (Spread) to the maximum value.

Using an eyedropper, mark an area on the image. Next, choose the color you want to change to. Click on the colored square labeled “ Result"(Result) and select the desired shade.

It can be seen that in the shadow area the color is not highlighted enough. Choose pipette « + " and click on the image in the area of ​​the folds on the T-shirt.


The T-shirt was completely dyed, but at the same time, unnecessary areas, for example, the face, were dyed. Choose pipette « - ” and click on it in the face area.


As you can see in the image itself, the lips and ears remain painted; this defect can be corrected using eraser.

This color changing method works most successfully on contrasting images.

Also in images where there are few related shades to the color being changed.

And finally, one more piece of advice. If the image still contains several areas of the same color, and only one of them needs to be changed, for example, then before using the command “ Replace color» (Replace color), you should select the area that requires color replacement. Any selection tool can help you with this.


The second method can be said to be identical to the first according to the scheme of work. But we will look at it in a more difficult image. For example, I chose a photo with a car. Now I'll show you how replace car color in

As always, we need to indicate what color we will replace. To do this, you can create a selection using the color range function. In other words, select an image by color. It is also very convenient today to strive to have good technical support when creating this or that service. And if you don’t know how to organize this, then http://pks-alteko.ru/tehpodderzhka/ will help you. An excellent opportunity to entrust this functionality to real specialists who know their work very well.

There is also an idea to create a good service where people will have the opportunity to learn the craft of working with the Photoshop program. This is truly a very good program that can currently feed you. After all, working and creating graphic materials is very necessary for those same owners of commercial sites...

To do this, go to the menu Selection - Color Range (Select - Color Range)

Next, all you have to do is click on the red color of the car and we will see the function that has determined it - coloring it white in the preview window. The white color shows which part of the image is highlighted. The spread in this case can be adjusted to the maximum value. Click OK.

After you click OK, you will see how the selection has been created:

Now you can change the color of the selected image. To do this, use the function - Image - Correction - Hue / Saturation (Image - Adjustments - Hue / Saturation)

A dialog box will appear.

Immediately check the Toning option (bottom right). Now using the Hue, Saturation and Brightness parameters you can adjust the color. I adjusted the color blue.

Hello again, my dear readers. Today I would like to tell you how to replace a color in Photoshop with another in a separate area and even in the entire picture. After all, you probably have often had the desire to repaint something just to see how it would look. But in order not to make a mistake, it is better to first do this on some kind of layout or photograph. Then you will already know how and what it looks like. Let's see how to change the color of an object to a specific one using the example of repainting the car in the picture.

First way. Color replacement

Let's look at the simplest case, when our background is completely different from the object itself, i.e. cars.

  1. So, upload a photo, picture or drawing into our editor and now go to the familiar “Image” menu. Next, select “Correction”, and then “Replace Color”.
  2. A color replacement window opened in front of us. What are we doing here? First, let's make sure that the active tool in this window is a regular eyedropper (without signs). Now just left-click somewhere on the hood of the car.
  3. As you can see, we have a small drawing in the window. What is colored light shows us which area will undergo a color change. Now start dragging the Hue slider. Do you see? Some of the color starts to change as you move that tone. Don't be upset that not the whole car is painted over. We'll fix it.
  4. To begin, hold down the left mouse button on the “Scatter” slider and drag it towards the larger side. Just try to make sure that the car is painted over as much as possible, while the background remains untouched. In this case, there are no yellow tints in the background, which allows me to set the maximum spread to 200.
  5. Has the desired object changed almost all its color, but not completely? Again, no problem. Activate the internal tool “Pipette+” and left-click on those areas of the car where there are unpainted areas in the drawing.
  6. Voila!) As you can see, everything worked out and even our background was not damaged. And by the way, you can also move the “Hue”, “Saturation”, “Brightness” sliders to achieve the desired shade.

Look. It looks like it should be. And this function can be used in different areas, for example, to replace the color of clothes, or to give an unusual but specific shade to vegetables or fruits. In! Try making a blue watermelon. Trust me. It's easy, very interesting and useful for consolidation.

Correcting Misunderstandings

Let's look at a slightly more complicated case. Let’s say I again want to change the color of the car, but this time it’s different. As you can see, the color of the car is the same as in the background. Well? Let's do everything the same as above and see what we get.

But we are doing a bad job, the background is so similar to the color of the car that neither the “Pipette-” nor reducing the spread helps. If we want ours to be purple, then our mountains will also be similar. What to do?

In such difficult situations, you will have to do a little manual work. There's really nothing wrong with this. You'll just have to use the one you know. Yes Yes. Using pens we erase unsuccessfully painted objects or the background, thereby leaving only the object itself with a certain color, i.e. in our case, a car.

Even better, before you start changing the color, duplicate the layer and perform all the actions on the created copy. And unnecessary details can be erased with regular . This will be better if you suddenly want to change the color later.

Second way. Blend Mode

Well, since we’re talking about repainting a car in Photoshop, I can’t help but mention another good way to carry out this action. True, here you will also have to work with your hands, since you will have to change and paint over everything. But we can easily replace the color in Photoshop with any other.

Let me load the same car as above.

  1. We take and how we would like to paint this car. Well, let’s say I want to see it green, then I’ll choose this specific color.
  2. Now create a new layer by pressing the keyboard shortcut SHIFT+CTRL+N. And then take a look at the Layers panel. Do you see any blending modes there? The default is normal, but open the drop-down list and select “Color” (By the way, the “Color Tone” mode is also suitable, so you can select that too). Great. Well done.
  3. Now choose the size, shape and hardness of the brush, and go ahead! We paint the car. Just be careful not to touch too much. Well, if you hit it, then use an eraser to correct it, no big deal.
  4. And now, if you want to change the color that you sculpted, you need to go to our again familiar “Image” menu and select “Correction” there - "Hue/Saturation". But I advise you to immediately use a simple key combination CTRL+U.
  5. Well, in the newly opened window, you can also move the hue, saturation and brightness sliders to change the hue. It's simple.

Well, how do you like the lesson? Was everything clear and interesting? I hope that yes. Personally, when I learned about changing the color of an object in Adobe Photoshop, I was simply delighted. If, of course, something is unclear, you can always clarify or ask. I will be glad to help as much as possible.

I would also advise you to look cool video course on photoshop. The video lessons are simply awesome, the course goes from easy to complex, everything is told in human language, nothing is missed and at the same time there is no unnecessary “water”. Everything is spot on. So be sure to check it out.

Well, I say goodbye to you today. I will be glad to see you in my other articles. Well, in order not to get lost, be sure to subscribe to my blog updates. I won’t spam - everything is just to the point, honestly. Well, you practice. See you in other lessons. Bye bye!

Best regards, Dmitry Kostin.