Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way in Photoshop to remove a background color from an image, when some of the background is behind a transparent object.

So far, I've tried using masks and channels but have not made any progress. I want to make the background transparent, so that the bottle and 'ink' can be put onto a white background colour.

Many thanks in advance, any help would be much appreciated.

enter image description here

share|improve this question
up vote 9 down vote accepted

There's no automated way to set a color as transparent.

However, try Select > Color Range and choose "Yellows" from the drop down menu. Then create a layer mask based on that selection. You get some decent results.

It's not perfect. But it's then a matter of adjusting levels on the mask a bit and correcting for the color halos, just general refining.

Mask created after color range selection.... (no refinement)

color range

share|improve this answer
Awesome! Thanks for the answer - how would you suggest I refine it? – jacktheripper Nov 30 '12 at 18:47
As I posted, a bit of a levels or curve adjustment on the mask to get those last bits of background. Then some Hue/Saturation adjustments to pull the yellow out... you basically have to experiment with a few options to see what works best. It's really not the greatest photo to work from. – Scott Nov 30 '12 at 18:49
How do you apply levels or curve adjustments to the mask? – tobinjim Aug 16 '14 at 21:05
@tobinjim click the mask thumbnail in the Layers Panel and choose Image > Adjustments > Levels (or Curves) – Scott Aug 16 '14 at 21:47
Well color me noob! There's even a pop-up there for which channel you're working on! These clever folks. – tobinjim Aug 16 '14 at 22:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.