How to Change Background Color in Photoshop

How to Change Background Color in Photoshop

How to Change Background Color in Photoshop

In this tutorial, I will show you one of my favorite ways to change background color in Photoshop, with a couple of additional tweaks that will make your subject stand out AND the background look more natural.

Painted Sky Overlays

Step 1: Select the Background with the Magic Wand Tool

Open your image in Photoshop, and then select the Magic Wand tool:

How to Change Background Color on Photoshop

I typically like to start at the top-left of my image, and drag around the top of my subject, and then downwards, towards the bottom-right of the image:

how to change the background color in photoshop

Once you have the bulk of your background selected, hold down the Shift key and click the smaller areas of the background that your initial wave of the Magic Wand (sorry, I couldn't resist) did not catch:

how to change background in photoshop

Step 2: Use the Refine Edge Tool to Retain Detail

We need to change our selection from the background to the subject, and we can do that by right-clicking and going to Select Inverse:

photoshop background color

You will see the selection change from the background to your subject, and now you will go to Select>Refine Edge:

how to add background color in photoshop

The Refine Edge window allows us to fine-tune the selection we just made.  With the Magic Wand tool, you will usually have a good bit of the background remaining near the edges of your subject.

As you can see in the image below, there are some orange traces remaining on the model:

 how to change background on photoshop

Use the drop-down menu to create a mask to view the selection.  I find it easiest to use a mask that contrasts with the color of the background, so in this case I chose to view my selection on black because I can more easily see the remaining bright orange near her hat, hair and clothing.

If your background was dark blue, for example, you could choose to view your selection on white or transparent.

Now it's time to use the brush to paint over the edges where we still have the remaining orange background in our selection.

Click within your subject, and then draw along the edge where you would like to erase the background.  Do this everywhere you see background remaining in your selection.  When you are finished, press OK.

Here is a quick video demonstrating my use of the Refine Edge Tools:

Step 3: Add a New Background Color

Add a Layer Mask to your selection by clicking the Layer Mask icon:

 how to change background on photoshop

Select Layer>New Fill Layer>Solid Color:

 how to change background on photoshop

Use the Color Picker to select a color.  You can also use the Dropper by hovering over your image to select a color from your subject's clothing.

For example, if I wanted to use a blue that matches her jacket, I could hover my Dropper tool over the blue sections of her jacket to find a color I liked. In this case, I decided to go with a fun, rosy pink color for our background.

 how to change background color in photoshop cc

Now, just drag your Color Fill Layer beneath your main image layer in order to make your subject visible:

how to change background color in photoshop

This is how you change the background color!

But let's take it a step further, and add a few additional edits that will help your subject really stand out and ALSO make the background look more natural.

Step 4: Give the Background Added Depth

When you look at a solid background in a studio, it typically has highlights, midtones and shadows to it.  In other words, it is NOT one solid color, but a gradient.  We're going to simulate that color gradient effect by selecting our Elliptical Marquee tool and adjusting the Levels.

First, using the Marquee tool, draw an elliptical somewhere near the center of your image - it does not have the be exact.  In this case, I drew mine a bit higher so that it would be closer to the model's face.

how to change color in photoshop

Be sure to right-click, select Feather, and then select 200 pixels in order to prevent a hard edge on your elliptical selection.

Create a Levels adjustment layer by selecting Layer>New Adjustment Layer> Levels. 

Brighten the midtones by sliding the midtones slider to the left.  This will create the illusion of a light shining on the background.

how to change background color in photoshop

We now want to darken the edges of our background.

Create another elliptical marquee selection and right-click to feather at 200 pixels as we did in the previous step.  Now, right-click again and go to Select Inverse - that way, only the outer edges of our image are adjusted.

how to change background color on photoshop

Create another Levels Layer (Layer>New Adjustment Layer>Levels) and this time, slide the midtones slider to the right to darken the edges of the image.

how to change the background color in photoshop

You can continue to tweak each Levels layer by double-clicking the layer until you are satisfied with your results.

In this example, I reduced the brightness of the first layer, and made my second layer a bit brighter so there was more of smooth transition between the levels.

Here is my final image including the new background color I selected.  I love it!

 adobe photoshop how to change background color

There you have it.  I truly hope you enjoyed this tutorial on changing the background color in Photoshop!  Make sure to keep this page bookmarked as a reference until you can remember all these steps on your own.

If you want to simplify the background color change process, Pretty Actions has a fantastic Magic Color Change Action that is included in their Pure Color Workflow Collection for Photoshop.  I love it and use it all the time!

Do you have any questions or comments about How to Change a Background Color in Photoshop?  Leave us a comment below - we would LOVE to hear from you!  And PLEASE SHARE this tutorial using the social sharing buttons (we really appreciate it)!

Portrait Photoshop Actions