Change Background Color in Photoshop (Clean, Flexible Method)

This tutorial shows a flexible, non-destructive way to change a photo’s background color in Photoshop. You’ll precisely select your subject, use a group mask to target only the background, recolor it with Hue/Saturation, and control brightness with Levels. You’ll also learn a clean blur method that avoids edge ghosting.

FEATURED TUTORIAL

How to Use Reference Images with Nano Banana in Photoshop

Read tutorial

Step-by-step instructions

1

Select the subject accurately

  • Go to Select → Subject to create an initial selection.

  • Press Z to zoom in and choose the Quick Selection Tool.

  • Hold Alt (Windows) or Option (Mac) and brush to subtract unwanted areas.

  • Press Q for Quick Mask; paint with the Brush Tool—white to reveal, black to conceal; use Shift-click for straight lines; press X to swap colors. Press Q again to exit Quick Mask and double-click the Hand Tool to fit the image.

2

Mask a group to affect only the background

  • Create a new Group in the Layers panel.

  • With the selection active, click Add Layer Mask to apply the selection to the group.

  • Select the group mask and, in the Properties panel, click Invert so the mask targets the background (background appears white on the mask).

3

Recolor the background with Hue/Saturation

  • Inside the group, click Create new fill or adjustment layer → Hue/Saturation.

  • In Properties, check Colorize.

  • Adjust Hue to pick a color and Saturation for intensity.

  • Avoid using Lightness here to preserve detail.

4

Control background brightness with Levels

  • Create a Levels adjustment layer below the Hue/Saturation layer.

  • Press Ctrl + [ (Windows) or Command + [ (Mac) to move the Levels layer down if needed.

  • Adjust the midpoint (gamma) and black/white sliders to fine-tune brightness and contrast of the background.

5

Blur the background without ghosting

  • Duplicate the Background layer (Ctrl + J on Windows, Command + J on Mac).

  • Move the duplicate into the group (Ctrl + ] on Windows, Command + ] on Mac) so it’s constrained by the background mask.

  • Go to Filter → Blur → Surface Blur, adjust Radius/Threshold as needed, and click OK.

  • Avoid Filter → Blur → Gaussian Blur, which can cause edge ghosting around the subject.

Next tutorial

How to Generate 4K Images with Nano Banana Pro in Photoshop

Read tutorial