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

The brilliant developers of Adobe's pearl probably had no idea that the Color Replacement tool in Photoshop would become, among other functions, one of the leaders in frequency of use.

Recolor brush

You will find a brush called “Color Replacement” in the “Brush” tool group (in Photoshop CS3 and earlier). This tool is good for its simplicity (you can do without laborious selection to recolor objects), but at the same time it is not entirely predictable.

Essentially, this color replacer with a circle-and-X cursor works like a regular brush, painting an area first while preserving the textural and structural features of the image, but with some caveats.

Firstly, unlike a normal brush, in its settings, in addition to size and hardness, you can set intervals (when moving), tilt angle and shape of the print, and also adjust pen pressure (when using graphics tablets).

During the painting process, the program continuously analyzes the paint within the brush mark, replacing it with the specified primary color in accordance with the selected mode.

The default mode is "Chroma", which changes the color and saturation, but the brightness remains the same, and the new hue, of course, will not exactly match the selected color.

In Brightness mode, the original tone is maintained, but the brightness changes.

In the "Color Tone" mode, the color will change tonally to the declared paint, but the original brightness and saturation will be preserved.

By selecting the "Color" option, we will also change the saturation, maintaining the brightness of the original paint.

Saturation mode maintains brightness but changes the hue and saturation of the original color.

To the right of the mode window in the settings panel at the top there are three sample selection options.

By selecting the first ("Continuous"), we instruct the program to continuously scan the color in the area of ​​​​the brush mark while we hold down the button, painting the object.

If we specify "One time", the color sample selected on the first click will be used as a sample. This option is suitable for uniformly colored areas.

In the third option (“Background Sample”), only areas related to the background color will be repainted.

The Constraints setting determines the extension of the substituted color as stated in the hover tooltip.

The “All pixels” option provides for the replacement of all pixels in the “cursor-sight” area of ​​the brush. By selecting "Adjacent Pixels" (the default), we will paint within the brush mark only those that are adjacent to the color pixels directly below the cross. Edge Enhance mode will recolor all pixels in the sample, but with an emphasis on the edges.

In principle, by choosing the appropriate brush size, you can confidently repaint in the boundary zones of the object, even accidentally getting into a different color, if only the “Tolerance” parameter is selected correctly, which determines the error in choosing relative colors, as the hint says. As the tolerance increases, the range of tones to be replaced expands, and vice versa.

Thus, we can conclude that the “Color Replacement” brush in Photoshop is a fairly flexible tool, and, despite its “straightforwardness,” it can do a lot of “mischief” in the right hands.

All commands that can radically change the color without destructive consequences for the image are in the "Correction" list in the "Image" menu. These functions include Color Balance, Hue/Saturation, Selective Color Correction, and Replace Color.

In the "Color tone" mode - the "chameleon" object

Another unfairly rarely mentioned and infrequently used method of color transformation lies in the modest “Color Tone” blend mode. Selecting the “Color” adjustment layer and specifying the desired paint, then change the blending mode on this layer to “Hue”. The object, of course, will not be repainted exactly the given color, but the hue will change. If you then double-click on the adjustment layer's fill thumbnail, a color palette will open, and you can cycle through the options, observing the chameleon effect on the canvas.

The excess is erased with a soft black brush on the adjustment layer mask, which is good for it.

With variegated objects, of course, there will be more fuss, so it is better to repaint objects that are more or less uniform in color this way.

Instead of an adjustment layer, you can create a new layer, change its blending mode to “Color Tone” and, having selected the desired color, paint over the object with a brush, then correcting the flaws with an eraser.

A little about color balance

By selecting "Color Balance", we can pre-color the selected object using the "Cyan - Red", "Magenta - Green" and "Yellow - Blue" color pair sliders. Tonal balance is adjusted in shadows, highlights and midtones.

Hue and saturation

The hue correction and saturation adjustment functions are very often used for tasks such as color replacement in Photoshop.

The algorithm for changing color in the dialog box called up by the "Hue/Saturation" command is based on adjusting the hue, saturation and brightness parameters. Here we can shift the overall color scheme of a picture or a selected fragment (object) and adjust colors individually in different parts of the color range by selecting the desired tone with an eyedropper.

In the list of ranges below (under "Style"), where the default is "All", there are six more color ranges that can be processed simultaneously, but with separate parameters.

Given the power of the tool in terms of color correction, recoloring the selected object here will not be difficult.

Selective color correction

This feature allows you to change colors using a CMYK model rather than an HSB (hue, saturation, brightness) model, controlling the amount of cyan, magenta, yellow and black in the selected color. Having selected the object to be repainted in the image, select the required color group in the “Colors” window and use the sliders to adjust its composition.

Sometimes, instead of the Selective Color command in the Image > Adjustments menu, it is better to use an adjustment layer of the same name (Layers > New Adjustment Layer or the button in the Layers panel at the bottom). In this case, it becomes possible to correct the effect on the adjustment layer mask by removing all excess with a black brush.

Replacing white and black

When changing the color using the correction functions, you may have noticed that white does not lend itself to recoloring in this way. Replacing the white color in Photoshop is very simple: if you first select this area, and then, after removing it, repaint it.

However, this drastic decision is destructive. It is justified only when it is not the original drawing itself that is important, but its color. And if you just want to give the white color a different shade, try converting the image to CMYK mode and using the Selective Color Correction function, and then returning to the RGB color space.

Depending on the uniformity of the color, you can use any tool from the extensive arsenal of Photoshop tools to select “Quick Selection”, “Background Eraser”, “Magic Eraser”, etc.), but the best option most often turns out to be “Color Range” in the “Color Range” menu Selection". And how the new color takes root in place of the removed white directly depends on the quality of the selection.

By the way, if a replacement is needed in Photoshop, all the arguments regarding repainting white are also valid for this case.

Replace color

This command from the Adjustments list in the Image menu (or its corresponding adjustment layer) is easier to use than Hue/Saturation, and its results are more predictable.

In the dialog box, use pipettes to select the colors to be changed. Using the Hue, Saturation and Brightness sliders we achieve the desired effect. To control the selection, it is better to select the “Selected area” checkbox (the image will be shown as a mask). The Scatter slider is used to correct scattering outside the selected area.

This color replacement method is most effective for contrasting and not very variegated images.

Recoloring in Lab mode

One of the most efficient and relatively simple ways to recolor objects is to replace colors in Photoshop using the Lab color mode, although to effectively use this method it is advisable to have at least some understanding of the Lab color space.

Thus, the L coordinate specifies the brightness (lightness) value, defined in the range from 0 (the darkest) to 100 (the lightest), and the color parameters are given by the coordinates A (color in the range from green to red) and B (color in the range from blue to yellow).

Thus, in Lab, the brightness value is separated from the chromatic color parameters, making it possible to influence the brightness, contrast and color of the image separately. It is this circumstance that sometimes makes it possible to speed up image processing, for example, if it is necessary to replace colors.

True, this option is not suitable for repainting motley multi-colored objects and objects with complex contours (hair, fur). Let's say you need to change the color of a passenger car. In Lab, replacing color in Photoshop involves, first of all, transferring the image to this mode.

We switch the image to Lab mode (Image > Mode > Lab), then select the desired color from the libraries by going to them by double-clicking on the main color in the toolbar, and remember the values ​​of the L, A and B channels.

In the "Pipette" tool group, select "Color Reference" and place a mark (control point) in a representative area of ​​the car color to be replaced, thereby calling up the "Info" panel.

Now add a “Curves” adjustment layer and for each channel we find the position of the curve in accordance with the fixed values, checking the “Info” palette.

The curves of channels A and B must necessarily intersect the center of the graph, and the curve of the brightness channel L must necessarily maintain the angle of inclination.

Now double-click on the image layer to open the “Layer Style, Blending Options” window. Let's move our attention to its lower part ("Overlay if"). Here, by manipulating the sliders for each parameter (L, A and B), we separate the car from the background or other objects.

We repaint everything

Having mastered the above methods of color replacement, you can repaint almost any object. Depending on its complexity, one method or another may be preferable. For example, changing hair color in Photoshop is easily done using the “Hue/Saturation” and “Color Balance” adjustment functions, but here the main task is to qualitatively highlight an object with such a complex (usually) contour.

Most often, a quick mask is used for selection (the button with a dotted ring at the very bottom). Then the selection is completed using the special capabilities of the “Refine Edge” command in the “Selection” menu.

The selected area is usually copied to a new layer (Ctrl+J), then the above-mentioned painting tools are applied to it.

And such simple tasks as changing eye color in Photoshop, which uses standard selection tools, are generally solved in no time. The eye can be selected by selecting the "Lasso" or "Oval Area" (for the pupils), then, as in the previous case, replace the color by applying the "Hue/Saturation" correction.

The Color Replacement brush also works well for this task.

Everything is the same with color

Most user requests related to recoloring objects in Photoshop, as a rule, do not specify the specific version of the editor, and if they do, then changing colors in Photoshop CS6 is of interest much more often than others.

This may be due to a more significant update of the program compared to the previous version than happened before. Changes have been made to the background save and autosave functions, selection tools, cropping tools, Magic Wand and Eyedropper, brush options, some filters, fill functions, layer editing, interface colors and much more.

There are new possibilities for working with RAW files in the new version of Camera RAW7, gradient filling, artistic image stylization, video editing, searching for the desired layer in multi-layer documents, as well as a new color correction Color Lookup, etc.

However, the corrective functions in the "Correction" list in the "Image" menu have not undergone any significant changes in the process of modernizing the program, so recoloring objects, for example, in CS2, and replacing colors in Photoshop CS6 are practically no different in essence. for those owners of earlier versions who believe that the new modifications have more options for changing colors.

How to change the color of an object in Photoshop?

Probably every girl has thought about changing her hair color at least once in her life. But not everyone decided to do this. After all, a new color can either decorate or ruin the whole image. But how can you check this before painting? It's very simple, you just need to use the Adobe Photoshop photo editor.

So, open your photo using the File > Open command or the keyboard shortcut Ctrl + O. Select the hair using the Magic Wand tool (W key).

To do this: set the tolerance, and select the desired part of the photo, alternating the “Add to selected area” (1) and “Subtract from selected area” (2) buttons. If the Magic Wand has selected too large an area, you need to reduce the tolerance.

In the Image menu, select the Correction item and the “Color Balance…” sub-item or press Ctrl + B. In the window that opens, you can change the color of the selected part of the photo (in this case, hair) by adjusting the sliders in one direction or another.

When you get the color you want, click OK. If the hair color turns out to be too dull, or, conversely, too bright, in the Correction item, select the “Brightness/Contrast...” sub-item.

Move the sliders left or right to set the desired contrast and brightness.

Now save the image in a new file, compare it with the old one, and draw a conclusion: do you need to change your hair color? :)

Of course, in Photoshop you can change not only hair color. It could be the color of a dress, a car, the sky... In general, whatever your heart desires!

Beginners often think that Photoshop’s “smart” tools are designed to make their life easier by eliminating tedious manual work. This is partly true, but only partly.

Most of these tools ( "Magic wand", "Quick Selection", various correction tools, for example, tool "Replace color") require a professional approach and are absolutely not suitable for beginners. It is necessary to understand in what situation such a tool can be used and how to configure it correctly, and this comes with experience.

Today we'll talk about the tool "Replace color" from the menu "Image - Correction".

This tool allows you to manually replace a certain shade of an image with any other. Its effect is similar to that of an adjustment layer "Hue/Saturation".

The tool window looks like this:

This window consists of two blocks: "Selection" And "Replacement".

Selection

1. Tools for taking a shade sample. They look like buttons with eyedroppers and have the following purposes (from left to right): main test, adding a shade to the set for replacement, excluding a shade from the set.

2. Slider "Scatter" determines how many levels (adjacent shades) are to be replaced.

Replacement

This block includes sliders Hue, Saturation, and Brightness. Actually, the purpose of each slider is determined by its name.

Practice

Let's replace one of the gradient fill shades with this circle:

1. Activate the tool and click with the eyedropper on any part of the circle. A white area will immediately appear in the preview window. It is the white areas that need to be replaced. At the top of the window we will see the selected shade.

2. Let's go to the block "Replacement", click on the color box and set the color with which you want to replace the sample.

3. Slider "Scatter" adjust the range of shades to replace.

4. Sliders from the block "Replacement" finely adjust the shade.

This completes the manipulation of the tool.

Nuances

As already mentioned at the beginning of the article, the tool does not always work correctly. As part of preparing materials for the lesson, several experiments were carried out on replacing colors in various images - from complex (clothing, cars, flowers) to simple (one-color logos, etc.).

The results turned out to be very contradictory. On complex objects (as well as on simple ones), you can fine-tune the shade and area of ​​application of the tool, but after selection and replacement you have to manually modify the image (eliminating halos of the original shade, removing the effect on unwanted areas). This moment negates all the advantages that a “smart” tool provides, such as speed and simplicity. In this case, it is easier to do all the work manually than to redo it using a program.

Things are better with simple objects. Halos and unwanted areas, of course, remain, but are eliminated more easily and quickly.

The ideal use of the tool is to replace the color of an area surrounded by a different shade.

Based on all of the above, one conclusion can be drawn: it’s up to you to decide whether to use this tool or not. It worked well on some flowers...

1 vote

Hello, dear readers of my blog. Today we will again learn the basics of working with Photoshop. I wonder what you would look like if your hair or skin color were completely different? I have already talked about that.

Today I will tell you how to change the color of a layer in Photoshop without any problems. I won’t once again mention how to work with them, but I’ll also tell you about various tools: a magnetic lasso, a magic wand, and so on.

All the relevant articles are already on my blog, and if you accidentally stumbled upon this publication and want to fill in some gaps, you can easily find out all the information you are interested in from the materials prepared in advance.

Today we will quickly go over the main tools, at the end you can find a good video instruction, and over the next 5-7 minutes you will see a sea of ​​screenshots that will help you figure out what manipulations will be necessary in order to change the color of the picture or her plot.

I'll be working in Photoshop CC, but if you have a different version, that's okay. All functions are simple. The software is installed in Russian. By the way, if you have an English version, I can also recommend the article “”. Very convenient, makes life easier.

Color correction

So, I have already selected the object, or rather the background of the photo, and transferred it to a new layer using the Ctrl+J keyboard shortcut.

Now I go to the “Image” - “Correction” tab. There are a lot of options here that will help you change the hue: “Brightness/Contrast”, “Color Balance”, “Photo Filter” and even “Gradient Map”. You can try each of them to understand from your own experience how this or that tool works, and choose an interesting method that you like specifically.

I'll use Hue/Saturation.

You can pull different sliders to achieve excellent effects.

As you can see, the differences are not striking, but there is no need to fool around with the selection so that the layers look uniform and professional, and the object does not stand out from the general background.

Dramatic changes

To make the background a completely different color, I will use the “Color Replacement” tool in the same “Correction” tab (about how to draw a black background for Photoshop -).

Once the dialog box opens, your cursor will change. The eyedropper tool will be hidden in it. Just click on the color you want to change. Use the Scatter slider to determine the area you want to work with, and then click on the color block above the Result entry or work again with the Hue, Saturation, and Brightness sliders.

I chose the first option. I clicked on “Result” and now I select the shade and color on the palette so that the soft blue turns into pink.

Professional, fast, easy

In my opinion, the most successful tool for working with colors of complex objects is the color replacement brush. Long-press the left mouse button on a regular brush until an additional menu opens.

Now select the shade to which you will change the layer color.

All that remains is to paint over the necessary areas, as you can see, all the shades are preserved. Very fast and convenient.

Can be repainted in any suitable option.

Video instruction

Bonus

Another way to change the color using a new layer is not very appealing to me, but I imagine that some people might like it and will certainly come in handy someday in the future. So, I create a new layer and then set its blending mode to Hue.

This is how it should turn out in the end.

Now I take any color, for example, yellow, the Fill tool and fill the newly created layer.

You can try other blending modes as well. Don't be afraid to experiment.

Using an eraser, you can return the girl to her normal complexion.

By the way, don’t forget that many professionals use . Still don't know how to work with it? Then the publication to which I provided a link will be useful to you.

Well, if you want to learn as much as possible about all the tools that are in Photoshop, I can recommend the course by Zinaida Lukyanova “ Photoshop for beginners in video format " You don't have to wait for anything. Just a few weeks and you will know everything that this program contains.


See you again and good luck.

It often happens like this: I found the right picture, but the color is wrong; or just wanted to diversify the usual. How to replace a color in Photoshop with another? The question is justified, because in Photoshop you can replace color in several ways. Much depends on the dispersion of a certain shade throughout the image. The less often the color being replaced appears in other areas of the image, the easier it is to replace the color in Photoshop.

Now let's look at several methods and figure out how to replace one color with another in Photoshop.

The first method is the easiest and fastest. But the object of repainting should not be too complex. For example, let's take a photo of a lime on a table. The background is almost uniform, the green color is present only on the lime. The fruit is round, it won’t be difficult to recolor.

Open the image in Photoshop and unfreeze the layer by right-clicking on the castle image.

Create a new transparent layer above the photo layer ( Shift+Ctrl+N). Calling the tool "Brush"(key B). It is better to use a hard brush. On the control panel, call up the brush properties and select a hard one, with clear edges of the stroke.

Select the color of the brush that you want to repaint the lime with. Let's take blue for example. The palette is in the toolbar at the bottom. Called by double clicking on the icon. By moving the sliders on the spectrum, you can select a color range. We select the color tone by moving the white ring in the square window, where the tone changes from white to black.

Stand on the transparent layer, select the brush size using the keys Kommersant- increase, or X- reduce and paint over our lime.

Now let's change the layer blending mode from “Normal”/Normal on Hue. You can do this in the layers palette. This will cause the lime to change color.

If you hold down the key Ctrl and, moving the cursor to the layer icon, click once, the shading area will be highlighted. Now, without removing the selection, you can change the brush color and select other colors. There is no need to repaint. After selecting a color, you can press the key combination Alt+Delete. This will fill the selected area with a new color.

In the next example, we'll look at how to replace a color in Photoshop with better quality. This method may take a little longer, but the results are worth it.

How to replace one color with another in Photoshop if shades of the color being changed are often found in the photo

Let's say you need to change the color of a model's lips. Red, pink and shades of these colors are present in skin color. When changing the color of your lips, you need to leave your skin color unchanged.

Open the image in Photoshop. Create an adjustment layer. The list of adjustment layers can be expanded in the layers palette below.

In the adjustment layer settings window, select the “Red” color channel and click on the tool Eyedropper Tool, then make one click on the model’s lips. This way we will determine the color that we will change.

Movable brackets will appear on the gradient below. With their help, you can make the range of a given color wider or narrower. When moving the checker "Color tone" /Hue The chosen lip shade will change throughout the spectrum, depending on where you point the checker. In this case, the shade of red will change throughout the image.

Ctrl+I

Having selected the color you want to change, close the adjustment layer editing window, step on the adjustment layer mask (white square) and press the keys Ctrl+I. The mask will be inverted to black, and all our changes will be visually lost.

When all the areas where the color needed to be changed have been worked out, you can save the image (keyboard shortcut Shift+Ctrl+S). If you miss in some area, you can cancel the action Alt+Ctrl+Z or paint over all the mistakes on the adjustment layer mask with a black brush. This method will help you choose a new color more accurately, and the work will look neater.

You can learn even more about Photoshop in the course at Fotoshkola.net.

How to replace one color with another in Photoshop if the original color is black or white

Things are different with the change of black and white.

To change the black color, you can apply an adjustment layer “Hue/Saturation”/Hue/Saturation, but work not with the color channel, but with toning. To do this, you need to check the box in the layer settings “Toning”/Colorize.

Let's take a closer look. Let's say you need to repaint a black sofa. Select the sofa using the tool (call with the key W).

Using combinations Ctrl+C And Ctrl+V transfer the selected area to a transparent layer and apply an adjustment layer to it “Hue/Saturation”/Hue/Saturation. To do this, between the adjustment layer and the layer with the selected object, you need to left-click while holding down the key Alt.

Now double-click on the adjustment layer to call up its settings, check the box “Toning”/Colorize and by moving the hue, saturation and brightness checkers, we select the desired color.

It turns out simple, beautiful, without a catch.

To recolor white, you can use an adjustment layer "Color" in blend mode "Multiply".

Open the image and create an adjustment layer "Color". We immediately set the color of the layer to the one we plan to paint white.

Change the blending mode to "Multiply", step on the adjustment layer mask and click Ctrl+I.

Go to the layer with the image and select the desired areas of white with the tool "Quick selection"(call with key W). Without removing the selection, stand on the adjustment layer mask and paint over the mask with a large white brush. The color will change only where you selected with the tool "Quick selection", which can be determined by the dotted line.

If desired, you can change the color of the adjustment layer. To do this, double-click on it and select any new color in the spectrum.

It's that simple. Try it, experiment. You will definitely succeed. Now you know several ways to replace a color with another in Photoshop.

You can learn even more about Photoshop in the course at Fotoshkola.net.