How to change the colour of an object in a photo
To change the colour of one thing in a photo, select that colour, copy it to its own layer, and shift its hue with an adjustment layer clipped to the copy. In Picstea that means Select → Color Range…, then Layer → New → Layer via Copy, then a Hue/Saturation adjustment layer with Layer → Create Clipping Mask. The shading and texture stay as they were because only the hue moves. For small areas there is also the Color Replacement tool, which paints a new colour over the old one. Everything happens in your browser, and the photo stays on your device.
The example below follows one photo: someone in a red jacket, which we want blue.
How do I select only the red parts?
Open the photo in Picstea (drop it on the window or use File → Open Image…). Pick the Eyedropper (I) and click a typical part of the jacket, not a highlight or the darkest fold. That sets the foreground colour, and Color Range starts from the foreground colour.
Now choose Select → Color Range…. The dialog has three settings:
- Colour, already set to the red you picked. You can change it here too.
- Fuzziness, from 0 to 255 and 40 by default. Pixels within half the fuzziness of the colour are fully selected, and pixels further away are selected less and less until the full value, so the edge of the selection is soft.
- Sample all layers, on by default. Untick it to look only at the active layer.
While the dialog is open, marching ants show what would be selected, and a line under the slider gives the size of the selected area or says "Nothing matches". Raise Fuzziness until the shadowed folds are in, and stop before the skin or a red sign in the background joins them. Click OK.
Color Range checks every pixel in the image, including ones nowhere near the jacket. If something else in the frame is the same red, it gets selected too, and you remove it in the next step. Each run of Color Range replaces the current selection.
How do I clean up the selection?
Use the Lasso (L) to fix the leftovers. Hold Alt while you draw around the stray red sign to subtract it, or hold Shift and draw around a missed patch to add it. Under Select → Modify there are Feather… (Shift+F6) to soften the edge further, and Expand… and Contract… to grow or shrink it by a few pixels. Select → Grow adds neighbouring pixels of a similar colour, and Select → Similar adds matching pixels anywhere in the image; both use the Magic Wand's tolerance. The Selections guide covers every selection tool.
How do I change the colour and keep the shading?
With the photo layer active and the selection still on, press Cmd/Ctrl+J or choose Layer → New → Layer via Copy. The selected pixels go to a new layer called "… copy" above the photo, and the original stays untouched underneath.
Next choose Layer → New Adjustment Layer → Hue/Saturation…. The new layer appears above the copy, and its settings are in the Properties panel. On its own it would change the whole photo, so choose Layer → Create Clipping Mask (Cmd/Ctrl+Alt+G). The adjustment is indented with ↳ in the Layers panel and now only affects the jacket copy.
Drag Hue (−180 to 180) until the red turns the blue you want. Leave Lightness at 0 if you want the folds and highlights to keep their contrast, and use Saturation (−100 to 100) for a softer or stronger blue. Since this is an adjustment layer, you can come back and change the numbers later, hide it to compare, or paint on its mask to take the effect off a button or zip. The layers, groups and masks guide explains clipping in more detail.
One limit: Hue only rotates colours that have some saturation. White, black and grey have none, so a white car stays white whatever Hue says. Picstea's Hue/Saturation has no Colorize option, so for neutral objects use the Color Replacement tool below.
When is the Color Replacement tool the better choice?
The Color Replacement tool is a brush. It shares a toolbar slot with the Brush and Pencil: right-click or hold the Brush button, or press Shift+B to cycle to it. The colour under your first dab is the one it replaces. Pixels within the Tolerance (0 to 255, 60 by default) take the hue and saturation of the foreground colour and keep their own lightness, so shading survives. The options bar also has Size and Hardness.
It suits small or awkward areas, like a logo on a mug or a single stripe, and it works on a grey or white object, since the saturation comes from the foreground colour. It changes the pixels directly and works on pixel layers only, so make a copy first (Cmd/Ctrl+J with no selection duplicates the layer). Each stroke is one undo step, and if a selection is active the stroke stays inside it. The other brush-style tools are in the Retouching guide.
How do I check the new colour is right?
If the jacket has to match a brand colour or another photo, use the Color Sampler. It sits with the Eyedropper (Shift+I cycles to it). Click to place up to four sample points; the options bar lists each one as R, G, B and a hex code, and the readings update as you move the Hue slider. Drag a point to move it, Alt-click it to remove it, or press Clear. The points are a working aid and are not saved with the image.
How does this compare with Photoshop?
Photoshop's Select → Color Range does more than Picstea's. It can sample several colours with Shift and Alt, has Localized Color Clusters to keep the selection to nearby areas, and has Skin Tones and Out of Gamut presets. Adobe's own recolouring method also uses a Hue/Saturation adjustment layer, and there a selection turns straight into the adjustment layer's mask; it also has a Colorize option for colours that tint the result.
In Picstea a new adjustment layer comes with a mask that shows everything, which is why this guide copies the jacket to its own layer and clips the adjustment to it. The result is the same kind of non-destructive edit. If you are weighing the two editors for other work, the Photoshop alternative page compares them feature by feature.
How do I save the result?
File → Export As… writes a PNG, JPEG or WebP of the finished image, and the same dialog can write a layered PSD. To keep everything editable in Picstea, use File → Save Project As… for a .picstea file.
Questions people ask
Can I change a colour without making a selection?
Yes, with the Color Replacement tool. It only changes pixels close to the colour under your first dab, so you can brush over the edges of an object and nearby colours that are different enough are left alone.
Why did part of the background change colour too?
Color Range selects matching colours across the whole image. Subtract the extra areas with the Lasso while holding Alt, or lower Fuzziness and run it again.
Can I recolour a white or black object?
Hue/Saturation can't, because those colours have no hue to rotate. The Color Replacement tool can, since it takes the hue and saturation from your foreground colour.
Is my photo uploaded anywhere?
No. Picstea runs in your browser, and opening, editing and exporting all happen on your device.
Open a photo in Picstea and try it on something you want in a different colour.