Every once in a while a client sends me logo file as flat jpg that I need to include in a design. I always ask for vector files, but sometimes the person in charge cannot provide these. To make matters worse the background is coloured which makes it even harder to cut out the logo. While there are many techniques to separate content from the background in Photoshop I found that using gradient maps is a quick and non-destructive way to do so. This tip won’t work in all instances, but when it does it is very handy! Here’s how you do it.
You get sent a file similar to one below. Let’s assume the background and logo colour are quite similar. Using the quick selection tool or ‘selective colour’ method often results in fuzzy edges. Bummer!
Add a Gradient Map Adjustment Layer above the flat logo layer (2) and create a Clipping Mask (3). The default black and white gradient doesn’t cut it though. We need to tweak this a bit.
Double click on the gradient to open it’s settings. Now we have to tweak the position of the stop points in order to get the desired effect. This is the trickiest part and might requires some fiddling around to get the smooth edges between the black logo and white background. When you’re done, just make sure that the logo is in fact 100% black and the background 100% white using the eyedropper tool. Since we’re working with a non-destructive adjustment layer we can always go back to further tweak the stop points.
All that’s left to do is to set your flat logo layer (Merged Layers) to Multiply in the Blending Mode options. That’s it. You’ve now got the logo in black, cut out from the background and ready to place on whichever background you like.
Below is the comparison between the cut out logo and the live text on a coloured background (which represents working with a vector logo). The results are great and will work just fine for web purposes. I wouldn’t recommend using this techniques for print files though.
If you need the logo in white to place on a dark background you simply have to reverse the gradient colours (not the gradient itself!). So the black stop point should be white and vice versa. Then you simply choose ‘Screen’ as Blending Mode.