How to Change Background Color Using Photoshop

Changing a background color sounds simple until the first attempt bleeds into the subject's hair or leaves jagged halos around the edges. This guide walks through the three approaches Photoshop pros actually use: the fast Magic Wand for plain backdrops, the reliable Select Subject + Solid Color Fill combo for busier scenes, and a Hue/Saturation shift when you want to recolor the background without losing texture. At the end, you'll see the same workflow mirrored in PhotoQuill so you can do all of it for free in the browser.

Method 1: The Magic Wand (Best for Plain Backgrounds)

The Magic Wand is still the quickest Photoshop tool when the background is a single color, a studio backdrop, or a clean sky. Instead of tracing the subject, you click on the background directly.

Photoshop Steps

Select the background, then fill it

  1. Press W to grab the Magic Wand. If the Object Selection tool appears instead, right-click the icon and choose Magic Wand.
  2. In the top options bar, set Tolerance to about 20 to 40. Lower values pick a tighter color range; higher values grab more variation.
  3. Uncheck Contiguous if the background shows through small gaps between fingers or hair.
  4. Click once anywhere on the background. Hold Shift and click again to add missed areas, or hold Alt (Windows) / Option (Mac) to subtract over-selected regions.
  5. With the background selected, open Layer > New Fill Layer > Solid Color and pick your new color. Photoshop turns the active selection into a layer mask automatically.
When this works best: product photos on white, ID-card style portraits, flat backgrounds from e-commerce shoots. If the background has clouds, gradients, or overlapping tones close to the subject, skip to Method 2.

Method 2: Select Subject + Solid Color Fill Layer

For portraits, wildlife, or anything in front of a complex scene, it's faster to let Photoshop find the subject and then flip the selection. This uses Adobe's machine-learning subject detector under the hood.

Photoshop Steps

Auto-select the subject, invert, then fill

  1. Go to Select > Subject. Marching ants appear around the person or main object.
  2. Press Ctrl+Shift+I (Cmd+Shift+I on Mac) to invert the selection. Now the background is active.
  3. At the bottom of the Layers panel, click the half-filled circle icon (Create new fill or adjustment layer) and choose Solid Color.
  4. In the color picker, choose your new background color and confirm. The active selection becomes the fill layer's mask, so the subject stays untouched and you can edit the color any time by double-clicking the thumbnail.
  5. If the mask looks hard around hair, click the mask and open Select and Mask to feather edges and run the Refine Edge brush along fine strands.
Why a fill layer, not the paint bucket: a Solid Color fill layer stays editable forever. You can change the hue, swap the mask, or lower opacity without redoing the selection. Painting directly on the layer locks the color into the pixels.

Method 3: Hue/Saturation for Recoloring Without Losing Texture

Sometimes you don't want a flat new color. You want the same background but in a different shade — a blue studio backdrop turned teal, a red wall turned purple — with all the original shadows, highlights, and texture preserved. That's what Hue/Saturation is for.

Photoshop Steps

Shift the color without repainting it

  1. Select the background first using either Method 1 (Magic Wand) or Method 2 (Select Subject + Invert).
  2. With the selection active, click the adjustment layer icon in the Layers panel and choose Hue/Saturation. The selection is applied as a mask on the adjustment layer.
  3. In the Properties panel, drag the Hue slider left or right. The background hue shifts while textures, shadows, and lighting stay intact.
  4. Adjust Saturation if the new color looks too punchy, and Lightness sparingly (too much quickly flattens the image).
  5. For a more targeted shift, open the dropdown at the top of the Properties panel and pick a color range like Blues to only remap that range.
When to use this: recoloring fabric, walls, skies, or any background where the original texture must survive. A Solid Color fill throws all of that away.

The Same Workflow, Free in the Browser with PhotoQuill

If you don't have Photoshop installed, PhotoQuill provides the same selection tools, layer masks, and adjustment layers — entirely in the browser, with no signup. The three methods above translate directly.

1

Open your photo

Go to the PhotoQuill editor and drag your image onto the canvas. Files are parsed locally in your browser via WebGPU. Nothing is uploaded.

2

Pick the selection tool that matches your photo

For plain backgrounds, grab the Magic Wand. Adjust the tolerance slider and click the background. For busy scenes, use Select Subject to auto-detect the foreground, then invert with Ctrl+Shift+I.

3

Add a fill or adjustment layer

With the background selected, add a Solid Color fill for a new flat color, or a Hue/Saturation adjustment layer to shift the hue while keeping the original texture. The active selection becomes the layer mask automatically, same as Photoshop.

4

Refine the edge and export

If hair or soft edges look rough, open the mask refinement controls and run the edge brush along those areas. Then export to PNG, JPG, WebP, or PSD with no watermark.

Try It in PhotoQuill →

Frequently Asked Questions

Which Photoshop tool is best for selecting a plain background?
For a solid or near-solid background, the Magic Wand (W) is the fastest route. Set a moderate Tolerance (around 20 to 40), uncheck Contiguous if the background wraps around the subject, and click. Use Shift-click to add stray pixels and Alt/Option-click to subtract.
Should I use Solid Color fill or Hue/Saturation?
Use a Solid Color fill layer when you want a completely new background color. Use Hue/Saturation when you want to keep the original texture, shadows, and gradient but shift the color to something different.
How do I fix rough edges around hair?
Click the layer mask, open Select and Mask, and pick the Refine Edge brush. Paint along the hair — Photoshop recalculates the mask with semi-transparent pixels so fine strands blend into the new background.
Can I use a gradient instead of a solid color?
Yes. Instead of Solid Color, choose New Fill Layer > Gradient. Pick or build a gradient, set the angle, and the selection still acts as the mask. This works the same way in PhotoQuill.
Why does the background fill bleed onto the subject?
The selection edge is too tight or too soft. Click the fill layer's mask, run Select and Mask, bump up the Feather slightly, and shift the edge inward with the Shift Edge slider. If the bleed is only near hair, use the Refine Edge brush instead of a global feather.
Launch PhotoQuill Free Editor →