Changing a color range in Photoshop CS3

Right now I have an image in which I have selected all the black. I've got the marching ants selecting all and only the black. I would like to change the black to brown (HEX#B16A23, R 177 G106 B35). How do I do that? I thought it would be as simple as clicking  on the foreground color box, but of course that didn't work.

So what do I do next?

Ultimately I would like to replace the black with a vertical gradient of 2 browns. So if it's possible, how would I do that? But first of course, the change to a solid color.


John CarneyReliability Business Tools Analyst IIAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you need to fill the selection with the selected color. You can do this in a bunch of different ways. For solid color, choose the foreground color in the toolbox and press ALT(or OPTION in mac)+Backspace. It will fill the selection. Also can choose to fill from menu Edit>Fill. To fill using gradient you can use the gradient tool.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
also you can use a color modifier tool like Image>Adjustments>Hue/Saturation>Colorize. Since it is black , you need to put some light to turn it to gray, then change saturation and hue
John CarneyReliability Business Tools Analyst IIAuthor Commented:
Thanks, julianopolito. I'm sure I'm going to have more questions soon.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Creative Suite CS

From novice to tech pro — start learning today.