Download Assets
This tutorial includes 2 sample images, 1 sample PSD and 1 PDF guide. Downloads are free with a PHLEARN account.
- Download the sample images and PSDs from every free tutorial on PHLEARN
- New free tutorials published every week
- One free account — sign up once, then download anything
Free PDF Guide · 4 Pages
This Tutorial as a Step-by-Step PDF
The guide walks through the cutout step by step: Magic Wand at Tolerance 10, Select and Mask with the Refine Edge Brush, a Solid Color fill layer at H 0, S 0, B 100, Select > Color Range for the hair, warping in new hair and the white workspace test. Keep it next to your keyboard.
description
A cutout only sits seamlessly on a web page when the white behind it is mathematically pure white, not merely close. This tutorial cuts the subject out with the Magic Wand and Select and Mask, rebuilds fine hair detail with Color Range painted onto the mask, then drops a Solid Color fill layer set to exact white underneath — which also lets the Crop tool extend the canvas and fill the new space automatically.
Enjoying This Free Tutorial?
We publish a new free tutorial every week, each one with sample images and PSDs you can download and follow along with. Sign up and they land straight in your inbox, along with early word on sales, events and subscriber-only offers.


How to Create a Pure White Background in Photoshop
A subject sitting on a truly pure white background blends seamlessly into any web page, since there’s no visible seam between the photo and the page’s own white space. This tutorial cuts a subject out with the Magic Wand and Select and Mask, verifies the background is genuinely pure white rather than an off-white gray, then rebuilds missing hair detail and extends the canvas so the final image is ready to drop straight into a website layout.
Making an Initial Selection with the Magic Wand
Start with the Magic Wand tool set to a tolerance of around 10, and click on the background area immediately surrounding the subject. A higher tolerance selects a wider range of similar tones, so starting low and holding Shift to add more clicks as needed keeps the selection under control. Expect this first pass to be rough and incomplete around tricky areas like gaps between the arms or fine detail in clothing — that’s normal, and it gets refined in the next step.
Refining the Selection in Select and Mask
With the rough selection active, open Select and Mask to clean it up. The Quick Selection tool and the Refine Edge brush both live here, and the Refine Edge brush in particular is built for tricky areas like hair, softening and improving how the selection edge reads around fine strands. Holding Alt/Option while using the brush subtracts from the selection, which is useful for pulling back any areas that got selected incorrectly.
Smoothing the Edge with Feathering and Contrast
If the subject’s outline looks slightly jagged, raising the Feather value slightly and increasing Contrast in the Select and Mask panel smooths that edge without losing the overall shape. A final light pass with the Refine Edge brush over any remaining rough spots finishes the selection before confirming it as a layer mask.
Turning the Selection into a Layer Mask
Output the finished selection as a new layer mask, then invert it with Ctrl/Cmd+I if the subject initially comes out hidden instead of visible. Holding Alt/Option and clicking the layer mask thumbnail shows the mask itself in grayscale, where white areas are visible and black areas are hidden — a helpful view for spotting and fixing any mistakes directly with the Lasso tool and Edit > Fill, or with a regular brush painting black or white.
Filling the Background with a Solid White Color Layer
Rather than trusting the original background to already be pure white, add a Solid Color fill layer (Layer > New Fill Layer > Solid Color) and set it to pure white — Hue and Saturation at 0, Brightness at 100 — then drag that fill layer beneath the subject. This guarantees a genuinely pure white background regardless of what the original backdrop looked like.
A Fill Layer Makes the Crop Tool Self-Filling
Because the white background is now a solid color fill layer rather than a fixed photograph, the Crop tool can extend the canvas outward in any direction and the new space automatically fills in with the same pure white, with nothing left to paint in by hand.
Rebuilding Hair Detail with Color Range
To recover fine hair detail that the initial mask may have missed, hold Shift and click the layer mask to temporarily disable it, then use Select > Color Range and click directly on the hair to select based on that specific color, adjusting Fuzziness to control how much gets picked up. With the hair color selected, click the layer mask, press Ctrl/Cmd+H to hide the selection edges, then paint white directly onto the layer mask to reveal that additional strand detail, which reads as far more organic and realistic than a mask edge alone.
Repeating the Process Across Multiple Hair Areas
This same Color Range selection and paint-onto-the-mask process can be repeated on other areas of hair, re-enabling and disabling the mask as needed, building up a fuller and more natural edge one region at a time rather than trying to fix everything in a single pass.
Filling in Missing Head Room
When the original photo crops off part of the subject’s head, duplicate the subject layer and apply its layer mask so the hair sits on its own separate layer, then select just the hair area needed, invert the selection, and delete everything else. Lowering that layer’s opacity while positioning it, then holding Ctrl/Cmd to warp its corners into place at the top of the head, blends the duplicated hair into the missing space. Once positioned, restore full opacity, set the layer mask to black, and paint white only where the extended hair should show through, and a light pass with the Clone Stamp tool on a new layer right above, with that layer’s opacity lowered a little, can add matching highlights so the extended section blends with the rest of the hair.
Extending the Canvas for Layout Flexibility
With the Move tool, drag the sample ad copy from its own document into the image. If the image isn’t large enough, press C for the Crop tool and extend the crop wider or taller; the fill layer keeps the new space white. This flexibility makes the finished cutout easy to adapt to different aspect ratios, whether it’s being placed into a website hero image, a print layout, or dropped in beside other graphic design elements.
Converting the Subject into a Single Smart Object
Selecting all of the subject’s layers together and converting them to a single Smart Object keeps the whole cutout portable, letting it be repositioned, resized, or dropped into a different layout as one self-contained unit instead of a stack of separate layers.
Verifying the White Is Actually Pure
To check whether the background is genuinely pure white rather than a slightly off-white gray, right-click the workspace area around the image, choose Select Custom Color, and drag it all the way up to pure white. If there’s any visible seam or transition between the subject’s background and this test color, the fill isn’t actually pure white yet and needs to be corrected. Set the workspace back to light gray when you’re done. This test makes subtle gray casts immediately obvious in a way that’s easy to miss just by looking at the image on screen.
Why This Technique Works
A cutout only reads as truly seamless on a website when the white behind it is mathematically pure white, not merely close to it, which is why a dedicated Solid Color fill layer set to exact values beats trusting an existing light backdrop. Refining the mask through Select and Mask’s dedicated hair tools, then supplementing it with a Color Range selection painted directly onto the mask, solves the specific problem of fine hair detail that a single rough selection can’t capture on its own. Testing the background against a known pure white swatch catches subtle gray casts that are otherwise nearly invisible on screen but obvious once the image sits on an actual white web page.
Final Thoughts
The core technique here — cut the subject out, refine the edge and hair detail, then drop in a dedicated pure white fill layer underneath — produces a cutout that can be resized, extended, and repositioned freely for any web or print layout, without ever revealing a seam against a page’s own white background. Once a subject is built this way as a Smart Object, it becomes a flexible, reusable asset rather than a one-off crop tied to its original photo dimensions.
Quick Reference: Keys, Menus and Settings
- Rough selectionMagic Wand at Tolerance 10 on the background; Shift-click to add
- Refine itSelect and Mask: Refine Edge Brush on the hair, hold Alt/Option to subtract, a little Feather and Contrast
- Mask and check itLayer mask icon, Cmd/Ctrl + I to invert; Alt/Option-click the mask to view it
- Pure whiteLayer > New Fill Layer > Solid Color at H 0, S 0, B 100, dragged below the subject
- Hair detailShift-click the mask to disable it, Select > Color Range on the hair, Cmd/Ctrl + H to hide the edges, paint white on the mask
- Extend the canvasC for the Crop tool, drag past the photo, Enter/Return
- Test the whiteRight-click the workspace > Select Custom Color, drag to white; set it back to light gray after
No AI, no generative credits.

Free Downloads
Follow Along on the Same Photo
Get the portrait on the light wall, the sample ad copy for the layout, the layered PSD of the finished layout and the 4-page PDF guide. Free with a PHLEARN account.
Pure White Backgrounds: Common Questions
Why does my white background show an edge on my website?
Because it is close to white, not exactly white, and close still shows an edge. A light backdrop is not a white backdrop. Put a Solid Color fill layer set to pure white under the cut-out subject so you set the value yourself.
What values make pure white in Photoshop?
In the Solid Color picker, drag all the way to the top corner. Hue and Saturation read 0 and Brightness reads 100.
What Tolerance should I use with the Magic Wand?
Start at 10 and click the background right around the subject. A higher Tolerance selects more with each click, so start low and Shift-click to add areas.
Why does my layer mask hide the subject instead of the background?
You selected the background, so the mask comes out backwards. Click the mask and press Cmd/Ctrl + I to invert it.
How do I fix leftover background in the mask?
Alt/Option-click the mask to see it on its own. Draw around leftover areas with the Lasso tool and use Edit > Fill with Black, or paint white with the Brush tool to bring back anything that went missing, like the nose here.
How do I get fine hair strands back into the cutout?
Shift-click the mask to disable it, use Select > Color Range and click on the hair, adjusting Fuzziness. Then click the mask, press Cmd/Ctrl + H to hide the selection edges and paint white along the hair.
What if the top of the head is cut off in the photo?
Duplicate the subject layer, apply its mask and keep only a piece of hair. Lower its opacity, rotate it to the top of the head and hold Cmd/Ctrl to warp the corners into place, then hide it with a black mask and paint it in with white.
How do I make the image bigger without painting more background?
Press C for the Crop tool and drag the box past the edge of the photo. Because the background is a Solid Color fill layer, the new space fills with white automatically.
How can I check that the background is really pure white?
Right-click the workspace area around your image, choose Select Custom Color and drag all the way up to white. If you see no transition, the background is pure white. Set the workspace back to light gray afterward.
Are the sample files free?
Yes, with a free PHLEARN account. You get 2 sample images, 1 sample PSD and 1 PDF guide: the portrait and the sample ad copy used in the layout, plus a 4-page step-by-step guide.
From the Magazine View all
Stories, interviews and guides for photographers, new every week.
EditingLightCraft vs Lightroom: I Edited the Same RAW Files in BothThe free clone on the same RAW files: what matches, what breaks and who should switch.
InspirationRare Historical Photos: 13 of the Rarest Pictures Ever TakenFrom the earliest surviving picture of a person to the last passenger pigeon: who took each one and why it survives.
EditingArtCraft: Photoshop Cloned by AI in Two Weeks. Is It Legal?ArtCraft cloned Photoshop and Lightroom with AI and gave them away. Any good? Legal? Safe?
Master Photoshop, Lightroom and Photography
Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.
