the Internet Windows Android

How to change one color in photoshop. How to change the color of the object in the photo in Photoshop

1 vote

Hello, dear readers. Replacing colors in the picture is quite interesting and tightening. Personally, I can spend quite a long time for this entertainment. There are several tools that will help in this work and each of them is suitable for their occasion.

Today I will tell you how to change the color of the picture in Photoshop and how to use in each specific case. You will like it, I assure.

It should be noted that I have been using Photoshop CC, but we will not do anything specific, so you can safely start reading even if you have a simpler version of this program. Not online serviceOf course, it is weak and non-functions, but in cases with CS3, 5 or 6 discrepancies you will not notice.

Let's proceed?

Simple color correction

The equipment for high-quality shooting is quite expensive, and not trouble, if you do not possess. You can get good snapshots using editors' software such as photoshop. To be honest, I use this opportunity for almost every photo that I post on my blog. I like the colors of the bore, rather than typically lay out on the Internet.

By the way, if you are interested in - read the article already published in Start-Luck. I will take a pre-prepared picture in order to proceed with the story of a simple color correction and go to work.

I open the tab in the "Image" top menu, and then the category "Correction". Do not regret the time to understand what "brightness / contrast", "juiciness", "color tone / saturation", and other options that will find in this tab.

You will not spoil anything, you will not break and always be able to return to the original option, simply refusing to save changes when closing the picture. Just see how those or other instruments behave. As they say, what you reach, always remembered better than when you explain everything on your fingers.

For example, open the "color tone" and twitch for various sliders, you will immediately see how it changes the colors of the picture and you can build a logical chain between your actions and result. Do not forget to check the box opposite "View".

Color balance changes color stronger, setting is thinner and interesting.

If you want to work with a certain element, it's enough, I have already told a simple and understandable language about how to do more than 8 tools and ways. I will not repeat, it is not difficult to find a publication, just go through the link just above.

I now use the most simple way - "Magic wand". Just clicking on the object and the desired fragment is highlighted. Using the setup tolerance, I'm on setting the scatter on color.

As you know, there are many shades of white, blue and any other color. The higher the tolerance number, the more shades from the spectrum will determine the program and allocate with the help of a stick.

Change the direction of the curve and the color becomes another.

By the way, if you want to work with the background, that is, by the site that is beyond the selection framework, then you need to select it first, and then in the "Highlight" tab of the top menu, select the "Inversion" position.

Running ants are removed using the Ctrl + D key combination.

Replacement in contrast

Very detailed about this method I talked in the article « » . Now we quickly run the basic functions. I will give a small instruction that will be enough.

This tool is ideal for replacing the bright, highlighting colors in the picture. For example, a yellow apple on a white background, a red car in a green forest or like now, a bright girl in a dark room.

Returning to the "Correction" section and I choose a "replacement color" tool here. With the "Pipette" tool, which appear automatically, choose a shade that will have to change. In this case, click on the curtain. Then move the "Spots" slider so that the girl becomes almost black, and all other objects had the outline ( how to draw a black background I wrote a whole article).

Please note the curtain and wall should still have the outline, just put the scatter 200 will not be released. Otherwise, the program will not take into account shades and paint everything ugly, one color. Now I climb on the grochka with the color at the bottom of the window, the "result" is written below it.

I click on the spectrum and various shades until I finally get the ideal result.

Ready. Not repainting the photo We got a great result. Just a few seconds. Now let's take a little about the shortcomings. As I said above, use this way convenient if the image is contrast. To repaint a concrete girl's dress in another shade, it will have to be allocated. I can offer another interesting, in which much attention is paid to complex objects, such as hair.

I myself exercise the instrument "Magnetic Lasso".

Now I carry a dress to a new layer by pressing Ctrl + J simultaneously. ? Read the publication with a detailed story about them, which I recently prepared for beginners.

We return to the "replacement of the color" section "Correction". In this case, the shade will have to be changed using the slider "color tone", "saturation", "brightness". If I click on the piercing "result, it turns out extremely disgusting and implausible.

In my opinion, the shade of the lady's dresses is still far from the ideal, and therefore I want to blur him a little. I open the "Filter" tab and choose all the favorite "Blur in Gauss."

The robe has become less clear, but the shade was somewhat aligned.

As I said, it is best that this method works if there are contrasts, so I am satisfied with that, and I will tell you about the last tool today.

Quick tool for complex cases and cardinal changes

I like the brush "replacement of color" more than other tools for solving a similar problem. You can find about it in the article « » in which I turn the most ordinary girl in a red-haired smourf woman with blue skin.

It is not difficult to find a brush, for this you need to right-click on a conventional brush. An additional menu will open in which you can select the desired tool.

I choose color. Everything is as usual. The window on the right. In this case, black, and then paint the part of the girl's hair. Note, all shades are saved.

You can put green.

In order to change the size of the brush, use the keys.

I can also offer a learning video on this topic.

Well, if you want to more professionally understand the program and understand how it works, this or that function in the Photoshop program works, then I propose a very useful course " Photoshop for beginners in video format ».


Maximum useful information On instruments. That's basically it. Do not forget to subscribe to the newsletter to be aware of the most recent, useful and simple information.

To new meetings and good luck.


Consider the dialog box

At the top " Selection"(Selection) is the tab from" Color Range».

Using a pipette on the sample of the picture, a color sample is marked, which must be changed.

Pipette with a plus adds an area, a pipette with a minus - deducts.

Setting the "Fuzziness" parameter (variation)

With the help of the slider, the boundaries are determined in which the shades of color will be changed. With the maximum scatter, almost all shades of the selected color existing on the image will fall under the replacement. With minimal scattering, the replacement will be solely those pixels that exactly correspond to the sample.


Starting with the version Photoshop CS4. Appeared additional option « Localized Color Clusters.»(Localized colors sets), designed to determine the areas of the same color. Its use allows you to more accurately select the color in the image.


In the lower part " Replacement"(Replacement) dialog box" REPLACE COLOR"(Replace color) is the tab from" Hue / Saturation."(Color Tone / Saturation), with which, based on the name, color and shade for replacement are selected.

Consider replacing the color on a specific example.

Step 1

Open the image B. Photoshop.. Create a duplicate of the main layer at once (Ctrl + J).


Step 2.

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

Suppose I want to change the color of the 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 sets of colors).

Increase " Fuzziness"(Scatter) to maximum value.

Using a pipette in the image, mark the area. Next, choose the color on which we want to change. Click the mouse on color square with signature " RESULT"(Result) and choose the desired shade.

It can be seen that in the field of shadows, the color is not highlighted enough. Choose Pipette « + "And click on the image in the field of folds on a T-shirt.


A t-shirt was completely attacked, but at the same time, unnecessary sites were painted, for example, face. Choose Pipette « - "And click on her in the face of the face.


As can be seen on the image itself, lips and ears remained, this deficiency can be corrected using erotic.

Most successful this method Color changes are triggered on contrast images.

Also on images where few related shades variable color.

And finally, another advice. If there are several areas of the same color in the image, and it is necessary to change among them, for example, only one, then before using the command " REPLACE COLOR"(Replace color), you should select the area that requires a color replacement. This can be helped with any tool for allocation.


Replacing flower

Team REPLACE COLOR Creates a temporary mask around the specified colors, and then replaces them with other colors. The principle of operation of the team is largely similar to the team Color Range (Color Range). Let's look at the action of this command on the example. Open the graphic file (Fig. 3.29).


Fig. 3.29. Source image

Select Team Image (image) | Adjustments (correction) | REPLACE COLOR. In arising from the execution of the command window, set the switch SELECTION (selection)To see in the preview window of the mask. Check the box Preview ( Preview) To see how color setting will be reflected in the image. Tool Pipette Click on the dark place of the background. Part of the background stated. If you click not a background, but a flower, it will not be done not to replace the background color, but replacing the color of the flower - rice. 3.30.


Fig. 3.30. An example of replacing the color of the object

Choose middle pipette Add to Sample (Adding Shades) And click on the next area of \u200b\u200bthe background, several times until almost the entire background will become white. Increase the value of the slider Fuzziness (scatter). If after that there were still unsecined sites, click on them with a plus icon. Changing the position of the polzunkov HUE (Color Tone), SATURATION (saturation) and Lightness (brightness) You can change the background color in a wide range of colors.

Namely about the team REPLACE COLOR. There is this tool in the menu.

Consider a dialog box.

At the top Selection There is a tab from "Color Range".

Using a pipette on the sample of the picture, a color sample is marked, which must be changed. Pipette with a plus adds an area pipette with minus - deduct.

Setting the parameter Scatter (Fuzziness).

With the help of the slider, the boundaries are determined in which the shades of color will be changed. With the maximum scatter, almost all shades of the selected color existing on the image will fall under the replacement. With minimal scattering, the replacement will be solely those pixels that exactly correspond to the sample.

An additional option appeared in Photoshop CS4 Localized Color Clusters.intended to determine the areas of the same color. Its use allows you to more accurately select the color in the image.

In the lower part Replacement The Replace Color dialog box is the "Color Tone / Saturation" tab, with which, based on the name, the color and shade for replacement are selected.

Consider the replacement of colors on a specific example.

Step 1.

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

Step 2.

Go to B. Image - Correction - Replace Color. I want to change the color of the T-shirt.

Step 3.

If you have CS4.then immediately put a tick opposite Localized Color Clusters.. Increase the scatter to the maximum value. Using a pipette in the image, mark the area. Next, I choose the color on which I want to change. Click the mouse on the color square with the signature "result" and choose the shade you need.

It can be seen that in the field of shadows, the color is not highlighted enough. I choose the "+" pipet and click on the image in the field of folds on a T-shirt.

A t-shirt was completely attacked, but at the same time, unnecessary sites were painted, for example, face. I choose a pipette "-" and clicking in her face.

As can be seen on the image itself, the painted lips and ears remained, this deficiency can be corrected using an eraser.

The most successless color change method is triggered on contrast images. Also on images where few related shades variable color.

And finally, another advice. If there are several areas of the same color in the image, and it is necessary to change among them, for example, only one, then before using the command Replace color, It is necessary to select the area that requires the replacement of color. This can be helped with any tool for allocation.

I wish you success!
Always for you: site
Did you have a desire to show the results of your works? Put your work on our forum!

Dear visitors sitewho spent time reading this lesson. We would very much like to know if he liked you and whether he was useful to you. Do not be lazy to leave a comment. Thanks in advance.

In this lesson Photoshop, I will tell you all about the "Color Replacement" tool. This tool is able to change the color of the image object without unnecessary fuss and hassle.

You may be surprised that there is a lot of general among the tools "background leaf" and "color replacement", although it would seem that there are completely different tools in their own intended purpose. Both of these tools use the same technique for detecting pixels in the image to be changed. The only difference is that the "background eraser" removes these pixels, and the "color replacement" tool changes their color to another.


The "Replacement Color" tool uses not the most professional version of the shade change and can not always give you those results that are necessary. But it is good for simple tasks, such as changes in saturation and shade of objects. Let's see how it works in practice.


(Color replacement) was first introduced in Photoshop CS, and if you work in Photoshop CS or CS2, you can find it in a group along with the "Attending Brush" tool (Healing Brush). Press and hold in the toolbar toolting icon attending brush (Healing Brush)to select the "Replacement" tool from the drop-down list Color Replacement Tool).

If you have Photoshop CS3 or CS4, like me, click on the brush tool icon (Brush) And hold it before the drop-down list of other group tools appears, select "Color Replacement".



After the selection, the cursor will change its view of the circle with a cross in the center. The background eraser has the same cursor form.



Adjust the size of the brush is convenient using the keys of square brackets [or]. The left bracket reduces the size, the right - increases. To adjust the rigidity (Hardness) Brushes, Add Pressing the Shift key (SHIFT + left sq. Makes the edge of soft, shift + right sq. Picks makes brush tougher).


When you drag the Color Replacement Tool tool on your image, photoshop continuously scans the color sample currently under the cross cursor. This is a color that will be replaced by the current color of the foreground. (Foreground). Other pixels included in the area of \u200b\u200bthe circular cursor are also replaced by color when moving it over the object.


For example, if you install the cursor on the blue color of the object, and the color of the foreground is red, then in the area of \u200b\u200bthe cursor, the color under it will be changed to red. In the top menu, you can customize the operation of the tool in different ways, but we will look at these details later.


The front and rear plans icon is at the bottom of the toolbar. Default program color foreground black.



To change the color foreground, click on the upper square (color sample) And select any new color from the color palette. I choose green color. Click OK upon completion by closing the palette.



If you look again on the front and rear plans icon, you will see that the upper square was the color that you chose (I have green). Now, if I draw in the image tool "Replace color" Color Replacement Tool)then the original color will be replaced by the color of the foreground (green).



Select for example a photo of a girl with a balloon.



She is happy, but wants her ball to become green. What can we do for this? Choose the "Replacement" tool and by clicking the cursor over the ball, start moving inside it. Since the color of the foreground is green, the blue color of the ball will be replaced by green when dragging the cursor inside the object.



We continue to change the color of the ball, while holding the mouse button pressed when the cursor moves while the whole ball is in painting.



If suddenly you went beyond the borders of the object being processed (ball) And they affected the nearby area, the "color replacement" tool Color Replacement Tool) There will be these pixels also change to green.



If it accidentally occurred outside the object, simply deselect the previous step by pressing the CTRL + Z keyboard on the keyboard, or deselect several previous steps by pressing Ctrl + Alt + Z.

Tolerance / tolerance (Tolerance).

It seems that everything goes fine, until it comes to the processing of the edges of the object. If you look closely, you will notice that the edges of the ball remain closed not completely, a blue strip is noticeable.



At the beginning of the lesson, I mentioned that the "Replacement Color" tool exist different parameters that can be configured in the topics panel. One of these parameters are tolerance or tolerance (Tolerance). Tolerance determines how sensitive tool in relation to the replaceable color is. By default, the tolerance of the "color" tool tolerance is equal to 30%, but for our case this is clearly not enough. I will increase it up to 50%, which will affect the wider range of color, and again spend on the edges of the ball. Now these areas are also changed completely on the green color of the foreground.




I will complete the work on other areas of the ball, further increasing the value of tolerance (Tolerance). This is the magic transformation.


Select color from the image.

In the previous example, I chose the color of the foreground for the ball using the color palette. But, you can choose a color sample from image elements, such as girls blouses. For this, with an active tool "Replacing the color" Color Replacement Tool), Press the ALT key and your cursor takes the type of pipette (Eyedropper Tool).

Now, press the pipette to any area of \u200b\u200bthe photo whose color you want to take the sample for the future replacement. Look at the front and background color icon, and you will notice that the upper square acquired the color you chosen.


I liked the pink color of the blouse, I will choose it.




Now, I will spend the ball tool again so that it becomes pink.



Pay attention to the significant advantage of the "Replacement Color" tool Color Replacement Tool) Before ordinary brush (Brush). After all, by changing the color, the ball retains its volume, texture and the ratio of light and shadow, which would be impossible when using a brush (Brush). The object would be simply flat with the usual painting.

Mixing modes (Blend Modes).

The reason that the tool is able to change the color of the object without losing its texture is to use different mixing modes. The applied color interacts with the previous color and it turns out such an effect. These modes you can see in your upper setup menu, four of them: tone, saturation, color and brightness (Hue, Saturation, Color, and Luminosity). The default program is set color mode. (Color)



If you ever read about the theory of color, then you know that the color is a combination of three components: tones, saturation and brightness. You can choose any mixing mode depending on which of these three aspects of the source color will be affected.


"Ton" mode (HUE): Only the main color itself will change, and the saturation and brightness will remain unchanged. This mode is suitable for images, where color is not very intense, since the changes are quite thin.


"Saturation" mode SATURATION): only saturation changes, and the shade and brightness do not change. This mode is useful to reduce color intensity or color removal completely.


"Color" mode (Color): Default is set and changes the shade with saturation. The brightness remains unchanged. Usually used more often than other modes.


"Brightness" mode (Luminosity): Changes the brightness of the original color to the superimposed. Tone and saturation do not change.


For the next example with mixing modes (Blend Modes) I chose a photo with balls again. An orange ball looks like to fly away above all the others, we will work with him.



One way to single out the ball from the whole group is to reduce the saturation of the other balls. In the Mixing Mode tab, I select Saturation Mode SATURATION).



If I wanted to discolor balls altogether, I would choose white, gray or black as the main color. But I want the effect to get more subtle. For this, I will take a color sample with a less bright ball, holding alt and pressing a pipette (Eyedropper Tool) on him. Why do I take a sample from a yellow ball, because I'm going to work with orange? The fact is that I need a sample of the saturation of the object, and not its shade. With mixing mode "Saturation" SATURATION) Only saturation will change, and not the tone of the processed ball.



Now, choosing the "color replacement" tool, start drawing on those balls on which we want to reduce the level of saturation, making them paler than usual. Adjust the size of the brush (square brackets)If it is necessary and the level of tolerance. Under the example below you see how different the initial shade of the ball from the changed.



We continue to paint all the balls to highlight the topmost.


Problems with brightness BRIGHTNESS).

There are some difficulties using the "Replacement Color" tool Color Replacement Tool) In cases where there is a big difference between the brightness of the original color and replacing it. Let's say I wanted to change the shade of the top orange ball on the purple color of another ball from the bundle. Everything seemed to be enough enough? But…


First, refund all the colors of the balls in the original condition. To do this, go to the File-Return menu (File Revert). Now, take a color sample from a purple ball by clicking on it with clamped key Alt.To switch to the pipette.



In the top menu, set the mixing mode to "color" (Color) default. Next, I will paint the orange ball to change its color on violet. Here is the result:



Hmm ... This is, of course purple, but its shade is not similar to the color of other purple balls from the bundle. The problem is that our orange ball is much brighter than purple balls. Our mounted mode Mixing on affects the brightness, acting only on color.


Let's try to make our ball brighter, changing the mixing mode of the "Brightness" tool tool (Luminosity).



I canceled the previous steps to return the ball into the original orange color. Now, with the mixing mode "Brightness" (Luminosity) Paint the ball with dark purple color.



Here you go! Everything went wrong. The "Brightness" mode, of course, made the ball brighter, but it is still orange and besides, the texture of the object disappeared. The problem here consists in too much difference in brightness between objects. The "Color Replacement" tool perfectly copes with simple tasks, where only you need to change the shade or saturation of the color, but if there are too many differences between the brightness of the two image elements, then you need to choose other ways.



In the top menu you can see three icons depicting pipettes. Each of the three options is a specific way to select a color sample for work. (Sampling). We list them from left to right: Sample: Continuous (Continuous), it is default program; Sample: Single (OCE); Sample: Sample background (Background SWatch). To switch between three options, simply activate the selected icon.



Consider details these options.


Sample: Continuous (Continuous). With this option, the choice of color will be carried out continuously until you hold the mouse button and spend the cursor over the image. This parameter is good when numerous, complex color changes in the object are required.


With single breakdown (OCE) Photoshop takes into account the color chosen once with a mouse with a click, no matter how long you drive the cursor over the image. Such a parameter is best suited for replacing large areas of homogeneous color.


Sample background (Background SWatch). You will not apply this parameter so often. Here, the background color replaces the original. Only those pixels that match the color of the background will be replaced in the image, then you need to choose in the color palette of the shade that is most suitable for the color to the image by clicking on the lower square of the front and rear plans icons. Try adjusting the value of tolerance if your shade is not completely close to the original.



The following parameter of the "Replacement Color" tool settings controls the location of the replaceable pixels and is called "restrictions" (Limits). This option has three color detection options: adjacent pixels (Contiguous), unsecurious (Discontinuous) and the selection of regional (Find Edges).


Of the three existing you will often use the first two.



By default, the program is set to limit adjacent (Contiguous). With this type of restriction tool "Color Replacement" Color Replacement Tool) Repacks the pixels located within the cursor, namely under the cross. The effect of the tool will not affect those pixels that correspond to the selected color, but are separated from the cursor to the area of \u200b\u200banother color. Of course, unless you physically stop the cursor in these zones.


Type of unless restrictions (Discontinuous) Replaces all the pixels located within the instrument cursor.


The last type of edge isolation (Find Edges) Replaces the color in areas with a shade of the selected color, keeping the outlines of the edges of the object.


And, last option in the top menu of the tool settings "Smoothing" (Anti-aliasing). Activate it if the smoothed edges of the image are needed, if you wish the exact outlines of the object, on the contrary, uncheck the checkbox.



That's probably all I wanted to tell you about it required tool. I hope the skills in working with the "color replacement" will be useful to you more than once.