Fade an Image to Any Color Background with Photoshop
Learn step-by-step how to fade an image to black, white or any color background with Photoshop! Perfect for adding space for text or to blend an image with a design.
In this tutorial, I show you how easy it is to fade an image into any background color with Photoshop. This is a great way to blend an image into a larger design, or for creating space to add text beside your subject.
We'll start by creating a new document and placing an image into it. Then we'll choose an initial color for the background, and fade the image into the color using a layer mask. Finally, I'll show you how to change the background to any color you like, including how to choose a color directly from the image itself.
Here's an example of what the final result will look like:
Let's get started!
Which version of Photoshop do I need?
You can follow along with any recent version of Photoshop. But note that one of the steps uses a gradient, and Adobe made changes to the gradients back in Photoshop 2020. So for best results with this tutorial, you'll want to be using Photoshop 2020 or later. Get the latest Photoshop version here.
Step 1: Create a new Photoshop document
Start by creating a new document. If you're on Photoshop's Home Screen, create a new document by clicking the Create new button
Create newon the Home Screen.
Or if you're on the main interface, go up to the File menu and choose New:
Then in the New Document dialog box, enter your settings. I'll set the Width to 3000 pixels, the Height to 1600 pixels, the Resolution to 300 pixels per inch and the Background Contents to White:
Then create the new document by clicking the Create button:
Step 2: Place your image into the document
Next, place your image into the document by going up to the File menu and choosing Place Embedded:
Navigate to the image on your computer, click on the image to select it, and then click Place:
Photoshop places the image into the document, and it opens the Free Transform command so we can resize the image if needed and move it into place. If your image is larger than the document size, Photoshop will automatically resize it to fit, as it did here (fashion portrait from Adobe Stock):
Step 3: Drag your subject to one side of the document
To make more room for the image to fade into the background, move your subject over to the side by pressing and holding the Shift key on your keyboard and dragging the image left or right. Holding Shift limits the direction you can move, making it easier to drag straight across:
When you're done, close Free Transform by clicking the check mark in the Options Bar:
In the Layers panel, we see that Photoshop placed the image on a new layer above the Background layer:
Step 4: Add a Solid Color fill layer
We're not actually going to use the Background layer for the background color. Instead, we'll use a Solid Color fill layer which will make it easier to choose any color we need.
To add a Solid Color fill layer, first make sure your image layer is selected. Then click the New Fill or Adjustment Layer icon at the bottom of the Layers panel:
And choose Solid Color from the list:
Step 5: Choose an initial background color
In the Color Picker, you can choose any color you like. But I'll choose white for now by setting the R, G and B values to 255. We'll come back and change the color once we've faded the image into it.
Click OK when you're done to close the Color Picker:
Back in the Layers panel, the fill layer was added above the image, which is why it's blocking the image from view:
And notice that the fill layer includes a built-in layer mask. We'll use this layer mask to fade the color into the image:
Step 6: Select the layer mask
At the moment, the fill layer itself is selected, which we can tell by the white border around the color swatch. We need the layer mask to be selected, so click on the mask thumbnail:
Step 7: Select the Gradient Tool
To fade the color and the image together, we're going to draw a gradient on the mask. And for that, we need the Gradient Tool.
Select the Gradient Tool from the toolbar:
Step 8: Choose the Black to White gradient
Then in the Options Bar, click on the arrow next to the gradient swatch:
In the Gradient Picker, twirl open the Basics folder (new as of Photoshop 2020) and choose the Black to White gradient by double-clicking on its thumbnail:
Step 9: Draw a black to white gradient on the layer mask
Now because we can't see the image yet, we're not going to get things right on the first try. But the idea is to drag out a black to white gradient across the layer mask in the area where we want the image to fade into the color.
So set a starting point for the gradient by clicking and holding somewhere in the general area of where your subject appears. In my case, she's on the right:
Then with your mouse button still held down, press and hold the Shift key on your keyboard and drag across the area where you want the image and the color to fade into each other. So this will be the transition area between the color and the image. Holding the Shift key as you drag limits the angle of the gradient so it's easier to drag straight across:
Then to complete the gradient, release your mouse button, and then release your Shift key (in that order). And just like that, the image is now fading into the color:
Viewing the gradient in the layer mask thumbnail
We can see the gradient by looking at the layer mask thumbnail in the Layers panel. The black area of the mask is where the fill layer is 100 percent hidden, allowing the image below it to show through. The white area is where the fill layer is 100 percent visible and blocking the image from view. And the gradient in between is where they fade together:
How to view the gradient in the document
You can also view the layer mask in the document itself by holding the Alt (Win) / Option (Mac) key on a Mac, and clicking on the layer mask thumbnail:
And now it's easier to see the black area where the image is showing through, the white where the color is visible, and the transition area between them:
Hold the Alt or Option key and click the layer mask thumbnail again to hide the mask:
Step 10: Redraw the gradient to adjust the fade effect
Now if you didn't draw the gradient in exactly the right spot, that's okay because you can just draw another one. In fact, you can redraw the gradient as many times as you need. Each new gradient you draw will replace the previous one.
I'll click to set my starting point somewhere around the woman's eye:
Then with my mouse button still down, I'll hold the Shift key on my keyboard and I'll drag over to the left:
But notice when I release my mouse button that I went too far, and we can see the left edge of the image:
So I'll try one more time, starting in the same spot:
But this time dragging a shorter distance:
I'll release my mouse button, then the Shift key. And this looks better:
Step 11: Choose a new fill layer color
Once you have the image fading into the color, you can change the color by double-clicking on the fill layer's color swatch in the Layers panel:
Then either choose a new color from the Color Picker:
Or choose one directly from the image. Just move your mouse cursor over the image and click on a color to sample it.
The Sample Size option
But before you sample a color, go up to the Options Bar and change the Sample Size from Point Sample (the default setting) to something larger, like 3x3, 5x5 or 11x11. That way, you'll sample the average color of the area rather than the color of an individual pixel. I'll choose 5x5:
The Sample option
Also, make sure the Sample option is set to All Layers:
Then click on different parts of the image to sample the color until you find the one that works best. I'll sample a grayish color from the upper right. When you're done, click OK to close the Color Picker:
Step 12: Redraw the gradient (optional)
Finally, if you want to go back and redraw the gradient, just reselect the layer mask thumbnail in the Layers panel:
Then with the Gradient Tool still selected, click and hold on the starting point, hold Shift, and drag out the transition area:
Release your mouse button, then release the Shift key. And here is my final result:
And there we have it! For more ways to blend images together, check out my Three Ways to Blend Two Images tutorial. Or visit my Photo Effects section for more tutorials! And don't forget, all of my tutorials are available to download as PDFs!