Skip to main content
Participating Frequently
September 20, 2018
Answered

How do you replace one color with another and fill in a transparent area?

  • September 20, 2018
  • 3 replies
  • 5140 views

I searched the forums, and youtube videos but could not find any help.

I have a bitmap file with a transparent background.  The image itself has exactly one color, which I want to change.

How do I do this?  I tried using the brush tool and the eyedropper tool, but I could not figure out how to do it.

Subject was edited by: Moderator (previous subject: Replace one color with another)

This topic has been closed for replies.
Correct answer c.pfaffenbichler

• Create a rectangular selection (Rectangular Selection Too ) covering the »glass«-object

• Layer > New Fill Layer > Solid Color

• select the intended Color

• move the new Layer behind the previously existing one in the Layers Panel

3 replies

Myra Ferguson
Community Expert
September 20, 2018

If all you want to do is change the color, double-click on the color in the layer thumbnail.That brings up the Color Picker. Pick a different color there. Click OK.

Participating Frequently
September 20, 2018

@myra  Right, but that question (locked by the mods) actually regarded an image with two colors.  The question was how to change one of the colors (the background).  This turned out to be quite complicated, as you have to choose the area with some selection tool like Quick Wizard, and then change that color.  I am not sure I could do it again.

I think I am really off on the wrong tangent here, because I shouldn't be using raster images at all.  This whole project should probably be done in Adobe Illustrator, where I can make the Buddha a vector drawing.  This will allow us to scale it without pixelation.

Myra Ferguson
Community Expert
September 20, 2018

Ah, okay... got it.

Can you post a link to the original post in case someone who sees this thread wants to refer back to it? I don't think I saw that.

c.pfaffenbichler
Community Expert
September 20, 2018

Your post is somewhat confusing because in Photoshop »Bitmap« (Image > Mode > …) refers to 1bit images which do not allow for transparency.

If you are talking about an RGB (or grayscale …) image with a Layer with transparency try

Layer > Layer Style > Color Overlay

c.pfaffenbichler
Community Expert
September 20, 2018

Could you please post a screenshot taken at View > 100% with the pertinent Panels (Layers, Channels, Options Bar, …) visible?

Participating Frequently
September 20, 2018

I was able to take a screenshot by pressing the PRTSC button on my keyboard and then using Microsoft Paint to crop the image. I opened the Layers panel with F7 and the Channels panel with Window>Channels.  I don't know how to open the options bar, sorry.

As far as your second message, I went to Layer>Layer Style, and chose white #ffffff, but that colored the buddha white.

I just want to fill the glass the buddha is holding in with white.

I had two threads originally.   For some reason, the admin of this forum locked one of them so I can't ask that question anymore.  That one was called "Color Transparent pixels white", whereas this one is "Replace one color with another".  I was able to figure out how to replace one color with another.  The buddha was originally white, but now he is red.  So now I just need to figure out how to color the glass white.  But unfortunately, the title of this question is misleading. I would have responded in the other thread, but it is locked now.

c.pfaffenbichler
c.pfaffenbichlerCorrect answer
Community Expert
September 20, 2018

• Create a rectangular selection (Rectangular Selection Too ) covering the »glass«-object

• Layer > New Fill Layer > Solid Color

• select the intended Color

• move the new Layer behind the previously existing one in the Layers Panel