Photoshop: Replace Color With Transparency

Abdulla picture Abdulla · Feb 6, 2011 · Viewed 56.7k times · Source

I want to replace the black color in this image with transparency. This would also mean that the gradient in the center of the image would not fade to black but fade to transparency. How is this possible?

enter image description here

Answer

whitesmith picture whitesmith · Feb 6, 2011

The general approach with a solid-color b/g:

  1. Click on the background with Magic Wand: the area becomes surrounded by wavy dashes
  2. Hit the Delete key: background has a hatched pattern
  3. Save and Done

For this to work your image must be RGB. If it isn't already make an RGB copy. If there are different shades of black in the background, you have to do this for each group of pixels that have a different RGB definition. In other words, it's easy with a solid-color background and increasingly time intensive depending on the number of RGB combos in the graphic's background.