Relax

How to change line color in photoshop. How to change the color of an object in Photoshop

How to change line color in photoshop.  How to change the color of an object in Photoshop

The main thing is to specify a picture on your computer or phone, select the colors you want to replace, press the OK button at the bottom of the page, wait a couple of seconds and download the finished result.

Photo of a rose without changes and with the pink color replaced by: violet, blue, turquoise, green and yellow:


The following settings were used to create the above examples: " Replacement color" - "pink", " Color to replace" - "purple" (for the next processing "blue", etc.), " Color replacement intensity" - "45".

If everything becomes one color, too much is replaced, or other colors are affected, then you need to lower the "Color Replacement Intensity". Conversely, if no change is visible or the color is not completely replaced, then you need to increase the "Color Replacement Intensity", and also make sure that you have correctly indicated the colors and have not confused, for example, red with pink. For a more precise color specification, you can use the HEX format. For different pictures, the settings may be different, it depends on both the color and the size in pixels.

Please note that you cannot replace black, gray or white on some saturated color, but you can replace a saturated color with an almost white, black or gray color. Simply put, you can replace any color of the rainbow or close to those colors that are available in the drop-down lists in the settings. The reason for this is that the color replacement algorithm is related to tone change, which does not affect grayscale or black and white images. If you need to process a large image of more than 14 megapixels (≈4592x3048), then send it to the mailbox with the settings you need - it will be done free of charge within a day.

The original image is not changed in any way. You will be given another processed picture.

1) Specify an image in BMP, GIF, JPEG, PNG, TIFF format:

2) Color replacement settings
Replacement color: red pink purple blue turquoise sky lime green yellow orange or in HEX format: open palette

Color to replace: red pink purple blue turquoise sky lime green yellow orange black gray white or in HEX format: open the Color Replacement Intensity palette: (from 1.0 to 100.0)

Smoothing sharp color transitions: (0-50)

Replaced Color Gain: (1-100)

1 vote

Good day, dear readers of my blog. Today we are talking again about Photoshop and its tools. Not many people know that hiding among them is the Color Replacement brush. Nevertheless, thanks to it, you can very cool change the color of any object in the photo.

I already wrote about that, but if you use the tips from that article, you can quickly get rid of a certain shade from an entire photo.

Today we will talk about the Color Replacement tool in Photoshop. I'll show you how to work with certain objects. Change, for example, not all the red in the picture, but only the hair. You don't have to bother with any masks. Everything will be very easy and simple. A couple of moves and you're done.

Well, shall we begin?

Color Replacement Tool

How does Color Change work? It recolors pixels from one color to another. And although this method cannot be called super-professional, darker and lighter areas and highlights remain so even when repainted.

The method is very easy to use and is ideal for solving simple tasks of changing colors and shades in Photoshop.

This tool "hides" on the same button as the other brushes. Hold down the left mouse button for a few seconds and additional tools open.

You can control the size of the brush using brackets ( and ) ("X" and "b" on the keyboard). In this, the brush does not differ from the rest of its "brothers".

How does a brush work? You move the arrow and everything that falls within the diameter of the brush changes its color to the one you need. Putting it out is very easy. It's active. To replace it, just click on the plate with the foreground color, select a shade and click OK.

Look, I took the black color and moved it over the girl's head. Her hair has changed, while all shades are preserved. They do not look like a dark spot.

Instrument settings

If you zoom in on the image, you will see that the color has "drifted" onto the girl's body. One of the brush options is Tolerance. It defines how different the color can be from the samples. By default, this figure is 30%. If I set it to 90, then I will hit the girl’s forehead and eyes a lot, and if I set it to 1, then I won’t paint over anything.

There is another interesting setting here - the mode. If you try to change something now, it will seem to you that the option does not work. The thing is that you first need to set the settings, and then work with the brush.

See, in the picture below, I tried all 4 modes. 1 is hue, 2 is saturation, 3 is chroma (this is the default), and 4 is brightness. You already know how to use them, but what is each of them?

If the colors in the photo are not too saturated, and the changes are not serious, then it is best to apply the “Color tone”. In this case, you will only change the hue, and the saturation and brightness of the original color will not change. The hand looks dull blue.

If you need to slightly reduce the intensity or even completely remove the color, then it is better to use the "Saturation" mode. It will not affect either the hue or its brightness. The lower part of the hand has not changed much. The color only hints that the hand is bluish.

"Chroma" will change both the hue and its saturation, but the brightness will remain unchanged. The girl's face became like an Avatar's.

"Brightness" will not change the hue and saturation, but its brightness, of course, will be completely different. You see, in my case, the girl's hand became almost white.

Another interesting setting, "Restrictions". Of the three available options in life, as a rule, only two are used: Adjacent and all pixels. The settings determine the location of the points you are going to change.

In the "Adjacent pixels" mode, only those points that are adjacent to the center of the cursor and do not differ from them in color change. This allows you to make changes more accurately, taking into account contrasting borders. If a color of a completely different shade suddenly falls into the diameter of the brush, then it will not change.

If you set the "All pixels" mode, then the photo will be "smeared" evenly, without taking into account the difference in shades.

OK it's all over Now. The tool, in principle, is not complicated. To make a real masterpiece, you will have to dig deeper, but changing parts of the object will not be so difficult. If you need to turn a large photo into a spectacular miniature, then there is simply no better tool.

If you care about how to make the quality of your work more impressive, then I probably still recommend that you look deeper into Photoshop. Get to know him better. The course will help you with this Photoshop from scratch in video format ».


This course will tell you all about the tools and features that this program has. You no longer have to look for answers to questions on the Internet. They will appear by themselves. You will be able to find ways to solve any problem and make incredible masterpieces.

Well, if you already know enough and want to start making money on your skills, then I will advise you another " Basics of commercial web design ". These lessons will help you understand what web designers do. If you already know something about Photoshop and want to take this hobby to a whole new level, then this option is for you.


An online course with the support of the author is a reliable investment in your future profession.

Stop thinking of a job. Let other people pay you to solve their problems with this powerful program. I assure you, you will be able to quickly find clients, and thanks to the ability to make collages, you will be able to complete the most incredible projects.

Read my introductory article on web design, find out as much as you can. I'm not talking about a scam and games, but about real work for which someone is willing to pay. I will not hide it, at first the money will not be so big, but now you do not earn anything on your hobby. Is not it?

I wish you success and I want you to succeed. Subscribe to the newsletter and VK group May every day bring you one step closer to your dream of becoming a better person.

Until we meet again and good luck in your endeavors.

There are dozens of ways to change colors in Adobe Photoshop. The easiest and fastest is to use the special command Replace color or “Replace color”. This function is convenient to use when working with any object in the photo. Also, this command is useful when replacing the color of several small details randomly scattered throughout the image. This article describes a detailed step-by-step instruction for performing this simple task.

Open the image in Photoshop. Create a duplicate of the main layer. To do this, go to the "Layer" tab in the top menu and select "Duplicate Layer" or press Ctrl+J. Go to the Image tab. Select “Correction” (Adjustments) – “Replace color” (Replace Color). A dialog box will appear. At the top, check the box next to Localized Color Clusters . Below are 3 pipettes. With the first one selected, click on the area of ​​the object where you want to change the color. It will appear in the upper square of the dialog box.


An eyedropper with a plus sign adds an area. Use it when there are unselected areas on the object. Dropper with a minus - reduces the part of the image that is not subject to color replacement.


Adjust the "Scatter" parameter. If the slider is left at the beginning, only those pixels that exactly match the color of the sample will be replaced. At the maximum values ​​of the parameter, the program will replace all shades of the selected color. Set the "Replace" option. At the bottom of the dialog box are three commands: Hue, Saturation, and Lightness. Use them to select the color and the desired shade to replace. Focus on the square on the right with the inscription "Result".


Click OK. A good effect is obtained on contrasting pictures, especially in the absence of similar shades of the color being changed. If there are many tones of the selected paint, and you need to change only one area, first select it using the appropriate tool on the taskbar. Thus, changing the color of any object in Photoshop is simple and fast.


Everyone knows that in order to change a photo or picture, you should "go" straight to Photoshop. This graphics editor is able to work wonders, because in its arsenal there are a huge number of various tools. All of them are aimed at something for each user.

By the way, in this application you can not only add brightness, contrast, etc., you can generally change the color in it, for example, turn a yellow car into a red one. Moreover, this is done very simply, and generally does not require any skills or specific knowledge. Intrigued? In this case, I think the topic of how to change the color of an object in Photoshop will be interesting for you.

Replace color

There are several ways to “conjure” a color in Photoshop, and in this article I will talk about the two most popular ones. The first method uses the Replace Color tool, and here is how it is implemented in practice:

Hue/Saturation

I bring to your attention another way to change the color. After opening the image in the layers palette, click on the small icon at the very bottom in the form of a half-filled circle, then select "Hue / Saturation". Next, select the color that will be replaced. Next, use the eyedropper cursor to click on this color. Now move the slider in the Hue field until you get the desired hue, don't forget to adjust the brightness and saturation as you do so.


Now activate the layer mask. With a black brush, go over those areas where a color change is not required. Save your changes and enjoy the result.

One way to focus the viewer's attention on this particular balloon is to reduce the saturation of the other balloons below it. I don't want to change the actual color of the balls, only the intensity. To do this with the Color Replacement Tool, I'll change the Blending Mode in the Options Bar to Saturation:

If I wanted to completely desaturate the balloons by completely removing their color, I would set the foreground color to black, white, or any of the shades of grey, but since I want a more subtle effect, I'll just sample one of the low-saturated colors from Images. To do this, I will hold down the key to temporarily switch to the Eyedropper Tool mode and click on the desired color. I will choose a low-saturated yellow color. The color itself doesn't matter, because the Saturation blend mode doesn't change any of the original colors. It will only affect the intensity:

So, I have the foreground color set to a low-saturated yellow, the blending mode is “Saturation” (Saturation). Now I'll simply paint over the balloons, adjusting my brush size using the left and right bracket keys and changing the tolerance value in the options bar as needed. The image below shows how I paint a bright orange balloon from top to bottom:

Disadvantages of the tool: problem with the brightness of resizable objects

As I wrote at the very beginning, the Color Replacement Tool can not be used in all cases. Now I will show you this with an example.

First, I'll reset my balloon photo to its original state by pressing F12. Now let's say I want to change the color of the top single orange ball to a dark purple like some of the balls in the group:

To select a replacement color, I hold down Alt and click on the purple ball:

I set the Blending Mode in the Options Bar to Color and start painting over the orange ball to change it to dark purple. Here is the result:

Hm. The ball turned out to be purple, of course, but this color is quite similar to the colors of other purple balls, isn't it? The problem is that this color is much brighter than other purple balloons, and this is because the original color of the balloon was much brighter than the dark purple that I used as a replacement sample. The "Color" blending mode in this case does not affect the brightness of the object in any way.

Well, let's then try to apply the blending mode that affects the brightness. Of the four blending modes available, this is "Brightness" (Luminosity). I'll reset the photo to its original state by pressing F12, select this mode in the options bar, and try again to paint the ball dark purple. Result:

Well, looking at the result, we can say with confidence that it turned out to be complete nonsense. The 'Luminance' blend mode definitely made the ball darker, but it's still orange, not purple, and besides, the texture detail is almost gone, the ball looks like a flat spot.

This is the disadvantage of the "Color Replacement" tool. It's great for simple tasks where you just need to change the hue and/or saturation of a color, but if there are too many differences in brightness values ​​between the original and the new color, this tool probably won't work.

Sampling for replacement

In the options bar, directly to the right of the blend mode option, there are three small icons. Each of these icons represents a different selection of pixels to replace with the Color Replacement tool, and they work exactly the same way as they do with the Background Eraser tool. From left to right: "Continuous" (Continuous), this option is enabled by default, the next one is "Once" (Once) and the last one is "Background Swatch" . To switch between selection modes, simply click on the desired icon:

These options determine how Photoshop selects pixels to replace colors in an image. If the first option, "Continuous", is selected, Photoshop continually determines the new colors it will replace. The sample is under the moving cursor, exactly under the crosshairs. If, while moving the cursor, another color falls under the crosshairs, it becomes the target color for replacement. All pixels of that color within the cursor circle are replaced. This sampling option is the most commonly used and works best when there is a lot of color variation in the object.

The "Once" option samples the color you originally selected and the sample does not change depending on how many colors you drag the crosshairs further. This option is best if you need to replace a large area with a solid color. You can also try applying the option if you find that with the "Continuous" option, the replacement color "leaks" into nearby areas and the "Tolerance" option does not help.

The last option, Background Pattern, is rarely, if ever, used. This option replaces any color in the image that matches the background color in the color palette. This option is only useful if none of the first two options work.

Limits

This setting determines the location of the pixels to replace and works exactly the same way as the Background Eraser. The option has three options: "All pixels" (Contiguous), "Adjacent pixels" (Discontiguous) and "Select edges" (Find Edges). Of these three, you will only really use the first two:

The "Adjacent pixels" option (set by default) means that only those pixels that are adjacent directly to the cursor crosshairs will be replaced. Pixels that are separated from the pixels below the crosshairs by some other color will not be replaced, even if they are within the cursor circle and exactly match the color.

The alternative is "All Pixels". With this option, all pixels that match in color and are within the boundaries of the cursor will be replaced.

Antialiasing (Anti-Alias)
This option is enabled by default and serves to smooth the edges around replacement areas. I recommend you always keep it on.