Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adjust/change a specific color in a layer 1

Status
Not open for further replies.

sewnex

Instructor
Nov 12, 2006
1
NO
Hello.

I wonder how I can adjust a specific color in a layer to another color. Exmple: If I have the color #666666 spread around in the picture and want change all areas with this color to #333333. Anyone whiche knows a easy way to do this?

I don't know if this question is answered here before, but if it is send me a link.
 
You are wanting color replacement. There are a variety of ways you can achieve this but I'd say the best way is as follows:
Select > Color Range
Sample the area of color you wish to replace, if you want that color and only that color then set the fuziness to 0 if you want the edges to be smoothed out (anti-aliasing) then set the fuziness to around 32 ish. Then hit ok and you will see a selection around the colored areas you choose.

Now, if you choose to set the fuziness higher you may end up selecting other areas of the image that you don't want selected at all. If that's the case don't worry, just go into quick mask mode (hit the letter Q) then select the foreground color to be black and use the paint brush to paint over the areas you don't want selected (note - you won't see the painted areas actually turn black b/c this is quick mask mode, it will actually turn red).

Now continuing, now that your selection is made you can either choose to make a new layer (or not, I'd suggest doing it for easy reverting). Then select your new color and with the paintbrush selected paint all over the selection. Keep the selection active while you paint so those sections are the only parts that receive the paint.

And that's it. Sure there are other ways to do this. But I find color range trumps all.

Hope this helps!

NATE


Got a question? Search G O O G L E first.
 
Based on Nate's comments, when you get the color range selected you can "CTRL-J" (if using Windows) and which will put your selection on a second layer, and then "CTRL-U" to adjust the hue, saturation, and lightness of that layer.

Ethan
 
I would tend to disagree on that when using color range. If you Ctrl+J'ed it then there would be a thin outline surrounding the new layer which would look almost whiteish depending on the layer below both. The better choice is to Ctrl+Shift+J if anything (which is still just creating a new layer) then doing the hue/saturation but even that won't give an exact color only an approximation.

NATE


Got a question? Search G O O G L E first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top