How to change the color of part of an image in Photoshop. Three ways to quickly change the color of an image in Photoshop

Welcome! In this article, we will show you how to change the color of a selected object in photos in Photoshop. You've probably visited the websites of car dealerships, where all the color options of cars are presented, and by clicking, you can see them all, or clothing stores, where you can also see all the color options presented. Naturally, you can photograph the product in all colors, but this is not always possible, and you need to show the entire range. It will not be possible to repaint complex objects with a brush, since this method does not allow you to convey, for example, the texture of clothing or all the highlights on the body of a car. Well, stop pouring water, let's get started!

Changing colors on contrasting objects

  1. First, we need to copy the image layer just in case, so as not to spoil it and accidentally save it. To do this, click on the photo layer and press the keyboard shortcut ctrl+ j. This is the layer we will work with:
  2. Now we need to create an adjustment layer. To do this, click on the “Create a new adjustment layer” button, which you will find at the bottom of the layers panel, and in the list that appears, select “Hue/Saturation...”.
  3. This is the layer with the mask that should appear:
  4. Now we need to change the color in the properties of the created adjustment layer:
    Please note that we are editing the red color in the photo, and select it accordingly. If you have a different color, then you need to choose that one. If the color you need is not on the list, then you should look for a solution in the following methods.
  5. Activate the Eyedropper tool in the properties of the adjustment layer and use it to take a color sample from the area of ​​the photo that you are editing:
  6. The next step is to select the required color using the “Color Tone” slider in the properties of the adjustment layer. You can also edit the saturation and brightness to give the desired result:
    Don't be alarmed if the entire photo begins to change color - this is normal. Then we will do everything right!
  7. Once you have found the desired shade, you need to fill the adjustment layer mask with black. To do this, press the key combination Ctrl+ i, but before that, be sure to activate the layer mask by clicking on it:
    After you fill the mask with black, the photo will return to its original form. By the way, if you want to know what masks are and how to use them, then read the article Working with masks in Photoshop.
  8. Now select the area to which we are changing the color. Selections can be made with a pen P or a magic wand W, if the edges are clear. If the edges are not quite clear, then it will be easier and faster to use a quick selection:
    This is how we selected the editable area:
  9. Now take the brush B, select white and paint the mask in the editable area with white. The required color will appear:
  10. Deselecting Ctrl+ D and look at the result. If you see that there are areas of the photo that could not be properly selected and could not be changed, then do not be upset, since we worked with a mask and everything is easy to edit. To do this you need to take the brush without selection. B with white color and carefully work on them, changing the size of the brush and its hardness. In the end, the result should please you:
    Tip: After you have changed the color, you can change the adjustment color settings in order to change the color to the desired one, without having to do all the manipulations again.

Change the colors of the object to any others

Changing colors in Photoshop is a simple but fun process. In this lesson we will learn how to change the color of various objects in pictures.

The first way to replace a color is to use a ready-made function in Photoshop "Replace color" or "Replace Color" in English.

I'll show you with a simple example. This way you can change the color of flowers in Photoshop, as well as any other objects.

Let's take the icon and open it in Photoshop.

We will replace the color with any other one that interests us. To do this, go to the menu “Image – Adjustments – Replace Color”.

The Color Replacement Function dialog box appears. Now we must indicate what color we will change; to do this, activate the tool "Pipette" and click on its color. You will see this color appear in the dialog box at the top, which is labeled as "Selection".

Heading below "Replacement"— there you can change the selected color. But first you can set the parameter "Scatter" in the selection. The higher the setting, the more colors it will capture.

In this case, you can set it to maximum. It will capture all the color in the image.
Configure settings "Color Substitutions"- for the color you want to see instead of the one being replaced.

I made it green by setting the parameters "Color tone", "Saturation" And "Brightness".

When you're ready to change the color, click "OK".

So we changed one color to another.

Method 2

The second method, according to the scheme of work, can be said to be identical to the first. But we will look at it in a more difficult image.

For example, I chose a photo with a car. Now I will show you how to replace the color of a car in Photoshop.

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.

Go to the menu “Selection – Color Range (Select – Color Range)”

Next, we just need to click on the red color of the car and we will see that the function has identified it and colored 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 was created.

Now you can change the color of the selected image. To do this, use the function - “Image – Adjustments – Hue/Saturation”.

A dialog box will appear.

Immediately check the box "Toning"(bottom right). Now using the parameters "Hue, Saturation and Brightness" you can customize the color. I set it to blue.

All. The color has changed.

If there are areas of the original color left in the image, the procedure can be repeated.

3 way

There is another way to change hair color in Photoshop.

In this lesson you will learn in detail about ways to change colors in Photoshop. All steps are described in detail, accompanied by pictures, so that it is clear and intelligibly explained where and what function can be used. So, let's begin!

The first way to replace a color is to use the ready-made function in Photoshop “Replace Color” or Replace Color in English.

I will show you with a simple example, a simple picture. First you need to download photoshop cc. Let's take the icon and open it in Photoshop.

Trowel on a yellow icon. We will replace yellow with any other color that interests us. To do this, go to the menu Image - Correction - Replace Color (Image - Adjustments - Replace Color)

The Color Replacement Function dialog box appears. Now we must indicate what color we will change; to do this, activate the Eyedropper tool (see arrow) and click on the trowel with it. You'll see this color appear in the dialog box at the top, which is labeled Highlight.

At the bottom is the Replacement heading - there you can change the selected color. But first, you can set the Scatter in the selection parameter. The larger the parameter, the more colors it will capture. In this case, you can set it to maximum. It will capture all the yellow in the image.

Configure the Color Replacement settings - with the color you want to see instead of the one being replaced. I made it green by setting the Hue, Saturation and Brightness parameters.

When you're ready to change the color, click OK.

So we changed one color to another.


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), which, based on its name, selects 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 highlight the area that requires color replacement. Any selection tool can help you with this.


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. We use pens to 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.