To change shirt color in a photo, you can shift the color of the fabric you select, or describe the new color to an AI editor that redraws the shirt. A red, blue or green shirt shifts cleanly in a free editor such as Photopea. A white or black shirt doesn't, because it has no hue to move, so it needs an AI editor: ChatGPT, the Gemini app, or Toybox AI's Smart Editor. This page covers both methods, prompts for the common cases, and the apps that do it on a phone.
Which method works for your shirt
The shirt's starting color decides the method. A hue shift keeps the real fabric and only swaps its color, while an AI editor paints new fabric that has to look real.
| Shirt in the photo | Manual hue shift (Photopea, Snapseed) | Typed AI edit |
|---|---|---|
| Solid mid-tone color, such as red, blue or green | Works well, and folds and texture stay real | Works; check the texture up close |
| White or light gray | Little or no hue to move, so it turns gray | Works; ask it to keep folds and shadows |
| Black or charcoal | Stays nearly black | Works; check seams and buttons |
| Stripes, plaid or a print | Shifts every matching color in the pattern | Name the part that changes, such as "only the blue stripes" |
| A logo or lettering on the chest | The logo shifts too unless you leave it out of the selection | Say "keep the lettering exactly as it is" and check the spelling |
| The same color elsewhere, such as a red shirt beside a red car | Color Range grabs both | Name the person and the garment |
Change shirt color in a photo with an AI prompt
An AI editor needs four things: which garment on which person, the new color, the fabric details to keep, and everything else to leave alone. Color names beat vague words. "Forest green" and "dusty rose" point to one color, while "green" or "pink" leaves the editor to pick a shade.
Paste any of these into Smart Editor's "What should change?" box, or use them as a base in ChatGPT or the Gemini app. OpenAI's ChatGPT guide to image edits makes the same point: say exactly what changes and what must stay, and make one change per pass.
Change only the t-shirt to forest green. Keep the fabric texture, the folds, the stitching and the way the light falls across it. Keep my face, hair, arms, jeans and the background exactly the same.Change his white button-down shirt to navy blue, including the collar and both cuffs. Keep the buttons white, keep every fold and shadow in the fabric, and keep his face, hands, watch and the office background unchanged.Change the red polo shirt on the man second from the left to charcoal gray. Leave everyone else's clothes, faces and poses exactly as they are, and keep the grass and trees behind the group the same.In his flannel shirt, change the blue checks to deep burgundy and keep the thin white lines and the plaid pattern exactly as they are. Don't change his face, beard, hat or the background.Change the gray hoodie to maroon. Keep the white lettering on the chest exactly as it is, with the same letters, size and position, and keep the drawstrings white. Keep her face, hair and the background the same.A bright shirt also tints the skin near it. When you change a red shirt to navy, add "remove the red tint from under his chin and on his neck", or the old color gives the edit away.
Change shirt color in a photo online for free with Photopea
Photopea costs nothing and runs in any computer browser, and its Color Range tool suits this job. Photopea's own guide uses a red t-shirt as the example: click it, and the preview shows the shirt in white and everything else in black. Changes you make after that apply only inside the selection.
- Load your photo into Photopea.
- Choose Select, then Color Range, and click on the shirt. Raise Fuzziness until the whole shirt, shadows included, shows white in the preview.
- Remove anything else of the same color. Pick the Quick Selection tool, hold Alt to subtract, and brush over lips, a bag or a car that got selected.
- Soften the edge with a 1 or 2 pixel feather (Select, Modify, Feather) so the shirt doesn't look cut out.
- Press Ctrl + U for Hue / Saturation. Drag Hue to the new color, and nudge Saturation and Lightness until it matches the light in the photo.
- Drop the selection (Ctrl + D), check the collar, seams and armpits at full zoom, and export the result as a new file.
A hue shift can't add color to white or remove it from black. Use the typed method for those shirts.
Change a shirt color with Snapseed on a phone
Snapseed is Google's free photo editor for iPhone and Android, with no ads or purchases. Its Color HSL tool adjusts the hue, saturation and luminance of one color. Pick the color range closest to the shirt and move its hue. Luminance makes the shirt lighter or darker. Used on the whole photo, it shifts that color everywhere, so check skin, lips and anything in the background with a similar color.
Change shirt color in a photo on iPhone or Android
On an iPhone, Apple's Photos editing tools adjust light, color and filters across the whole picture or remove objects with Clean Up, so recoloring one shirt takes another app. These options work on phones:
- Google Photos on iPhone or Android. With Ask Photos turned on, the Ask button in the editor takes a sentence such as "change his shirt to forest green and keep his face the same". Google limits it to adults with personal accounts in the countries where it has launched, and iPhones need iOS 18 or newer.
- Samsung Galaxy AI phones. Gallery's Photo assist has a Create option where you type what should change. Galaxy AI editing works online only, needs you signed in to Samsung, and marks AI-generated results with a watermark.
- The ChatGPT or Gemini app. Attach the photo and paste a prompt from this page.
- Snapseed. Color HSL for colored shirts, as described above. The App Store version requires iOS 17 or later.
- A browser. Toybox runs in your phone's browser, with no download.
Show a shirt in another color, or try a real one on
A recolor is a preview, and the use decides whether a preview is enough.
- Deciding what to buy. A recolor shows roughly how a color sits with your skin and hair. To see an actual shirt from a store photo on you, Clothing Try-On takes two photos, "Person" and "Clothing", and puts that one garment on you. It works on the Free plan and currently costs 75 credits. The guide to seeing how clothes look on you covers fit and what a try-on can't show.
- Planning matching outfits. For a family photo, recolor everyone's shirts to one palette before you shop, then check each face against the original.
- Selling shirts in several colors. A recolor works for a "vote for the next color" post. For the listing itself, photograph each real color, since buyers compare the shirt that arrives with the photo. To show a printed design on a blank shirt, see the t-shirt mockup guide.
- Changing the whole outfit. Swapping a shirt for a jacket or a dress is a different edit, covered in how to change clothes in a photo.
Tips for a shirt color that looks real
- Name the fabric. "Cotton jersey", "linen" and "denim" each fold and catch light differently, and OpenAI's image guide suggests naming materials when they matter to the result.
- Keep the shadows darker than the color. A navy shirt should have near-black folds under the arms. If every part of the shirt is one flat shade, ask for "natural shadows in the folds".
- Protect buttons, zippers and prints. List them in the instruction, because an editor can recolor small parts to match.
- Check the edges. Collars, cuffs, the hem and the gap between arm and body are where the old color survives.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| The shirt looks flat or plastic | The edit lost the fabric's texture and folds | Add the fabric name and "keep every fold and shadow" |
| A white shirt turned gray, not blue | A hue shift can't color white fabric | Use a typed AI edit |
| The old color shows at the collar or cuffs | Those edges weren't selected or named | Name the collar and cuffs, or brush them into the selection |
| Lips or a background object changed color | Color Range or Color HSL caught the same color | Subtract them from the selection, or use a typed edit |
| The logo changed or its letters are garbled | The editor redrew the print | Add "keep the lettering exactly as it is", and check each letter |
| The wrong person's shirt changed | The prompt fit two people | Add their position and one detail, like "second from the left, in glasses" |
| A face looks different | The AI changed more than the shirt | Go back to your untouched photo and list the faces to keep |
Change a shirt color in Smart Editor
Smart Editor recolors from a typed instruction and runs on OpenAI's GPT Image 2.5. Reach for it when a hue slider can't do the job: a white or black shirt, one person's shirt in a group, or one color inside a plaid. It's available on Pro and higher plans.
- Upload the photo under "Your image". JPG and PNG files up to 10 MB work.
- In "What should change?", say whose shirt, which garment, the new color and what stays, as the prompts above do.
- Keep "Shape" on "Original" under "More options". For a product photo you'll zoom into, pick 4K under "Quality" (currently 110 credits, against 85 for HD; see plans and prices).
- Tap "Apply edit" and give it about 30 seconds.
- Look at the collar, cuffs, hem and any lettering at full size, then at every face.
- For a second color, switch "Editing" to "Original photo" first, so the new color doesn't stack on the first one.
There's no selection brush, so the whole frame is repainted and a button or an earring can drift. Listing the face and background in the instruction guards against that. For more of that wording, see how to keep faces unchanged in an AI edit. Hair takes the same kind of sentence, as in how to change hair color in a photo.