Bring the try-on experience to your physical store with Antla Retail.

Blog
September 9, 2026

Color Variant Accuracy in Virtual Try-On

Keep virtual try-on colorways accurate: one photo per color, a checked swatch map, a render QA pass, and a plain note on the limits. Check it before the drop.

Aaron
Aaron
11 mins read

Color accuracy in virtual try-on starts with one clean product photo for each colorway, mapped to the swatch the shopper selected, then checked on a phone against the fabric. The preview shows appearance. It does not check size or fit, and it will sell the wrong dye if the source photo, the swatch name, and the cart line disagree. Prepare the assets, verify the mapping, QA the render, and tell shoppers where color can still shift.

Three folded coats in rust, sage, and cream, each paired with an instant photo of that color

Three dyes, three photos, and one of them is already a little too orange. Editorial image in Classic Antla disposable-camera style.

A shopper taps the sage swatch on a wool coat, opens try-on, and sees herself in forest green. She likes it. The cart line says Sage. The parcel that arrives is the sage you photographed under studio light, which is neither the forest on her screen nor the swatch chip on the page. She returns it as “not as pictured,” and the team blames the model.

The model was the last step. The miss was the asset, the map, or the sentence you never put next to the image. Color is a smaller return reason than size, and it is still large enough to staff. Coresight Research’s survey of US apparel decision-makers, for the 12 months ended 6 March 2023, put size and fit as the top reason for online apparel returns, cited by 53% of respondents, with color at 16% and damage at 10%, in The True Cost of Apparel Returns. A preview can speak to that color slice only when the dye in the picture is the dye in the box. It cannot speak to the size slice, because a preview is appearance.

Prepare variant assets

Give every color its own source photo before you turn try-on on for the style. The generator can only wear the image you hand it. A shared hero of the rust coat, reused for sage and cream, will preview rust no matter which chip she taps.

Shoot or export the set like this:

  • One front image per color, garment fully visible, same crop, same neutral light. Daylight-balanced if you can. The dye should be the loudest thing in the frame.
  • The same angle for every color. If rust is a flat lay and sage is a walking shot, the preview will change pose when she changes color, and she will think the product changed.
  • No mixed-color group shot as the variant file. A rail of all three coats is a useful extra gallery image. It is a bad generation source, because the model may grab the wrong coat.
  • Size variants may share a file. A medium and a large of the same sage coat look the same in a photo. Google’s image link guidance says variants that differ only by size can use the same image, and that color variants need an image of the correct color, pattern, and material. Follow that in the gallery too.
  • Skip the lifestyle frame as the try-on source when it hides the dye in shadow, or when it includes a bag you do not sell with the coat.

Name the files so a human can audit them: wool-coat-sage-front.jpg, not IMG_4402.jpg. Match the file’s color word to the swatch word. If the swatch says Sage, the file says sage, the alt text says sage, and the feed says sage.

The first image in the Shopify gallery is what many themes, and many try-on setups, will treat as the default. If that first frame is a video, a detail crop, or a campaign shot of the rust color only, point generation at the real front of the selected color. Antla can take a preferred image at scale by setting window.antla_preferred_image_url to the product image you want, which is documented under image selection. Use it when the first frame is the wrong job, and use a per-color image when the shopper has picked a swatch. A single preferred URL for the whole product will lock every color to one dye.

I would not launch try-on on a style until each selling color has that front file. A missing sage photo is a reason to hide sage from the preview, not a reason to borrow rust.

Verify swatch mapping

The map is the boring part, and it is the part that puts the wrong coat in the cart. Shopify’s theme guidance on product variants says that when a shopper selects a variant, the product media and the price have to update to match, and that a link with ?variant= should open with that variant already selected. Try-on adds one more surface that has to follow: the image used to generate the preview.

Run this on the coat before the drop, and again after any theme change:

  1. Open sage from a ?variant= link. The gallery, the swatch, and the price should all say sage before you touch anything.
  2. Open try-on. The preview source should be the sage front, not the rust hero left over from page load.
  3. Switch to cream, then generate again. The second preview should use the cream file. A cached first image is the usual bug.
  4. Add to cart from the preview and from the page. The cart line color should match the preview you just saw.
  5. Repeat on a phone. A lot of themes run a separate selector on small screens, and the desktop map can be fine while mobile stays on the first image.

Then check the words. Google’s Merchant Center rules for the color attribute require the color in your product data to match the color on the landing page. “Toasted Walnut” on the page means “Toasted Walnut” in the feed, not “Brown.” Hold the preview to the same rule. If the chip says Sage, the panel says Sage, the cart says Sage, and the feed says Sage. A preview labeled only “Green” will train her to expect a different dye than the one you ship.

Antla’s event payload includes selected_variant and input_product_image on the custom events. Log both for a day on the coat. Any event where the image URL does not belong to the selected variant is a mapping bug, and you can see it before the returns do. The media setup that keeps each swatch pointed at the right gallery is in variant images and combined listings. Combined listings make this stricter, because each color can be its own product, and the preview has to follow the child the shopper actually opened.

Sold-out sizes should not block the preview. Appearance does not depend on size. A sold-out size in an in-stock color should still preview that color, and the buy button should explain the stock problem on its own.

QA color rendering

A correct file can still render as the wrong dye. QA is a comparison you can do at a table: the fabric, the source photo, and the preview, on the phone your shoppers use.

Pull the three coats. In daylight, set each one next to its source photo on a phone, then generate a preview from a well-lit, front-facing test photo of a person. You are looking for a shift big enough that a customer would use a different color word.

PairWhat often goes wrongWhat to do when it does
Navy and blackNavy renders as black, or the reverseReshoot under neutral light, or pause preview on that dye
Cream and whiteCream blows out to whiteLower the exposure on the source, keep a shade in the shadows
Rust and orangeRust shifts hotCompare to the fabric, not to the swatch chip alone
Heather and solidThe generator smooths the mix into one toneUse a tighter crop that still shows the full garment
Two greensSage and forest collapse into oneDo not share a file, and check the names in the panel

Judge the source photo against the fabric first. If the photo is already forest and the cloth is sage, the preview is innocent. Fix the file. If the photo matches the cloth and the preview does not, pause try-on for that colorway until you have a cleaner source or you accept the miss. I would pause the color before I would ship a preview that sells a different dye. A coat with no preview still has its catalog photos. A coat with the wrong preview creates a return you have to explain.

Check two screens. A warm laptop and a cool phone will not match each other, and shoppers buy on the phone. The phone is the reference. Do the same check for the on-site swatch chip: chips are often more saturated than the garment, and a perfect preview of a lying chip is still a miss.

Write the result down per color: pass, pass with a note, or paused. “Looks fine on my monitor” is not a result. The note should name the direction of the shift, such as “sage pulls yellow on iPhone, still reads as green.”

Communicate limits

Even a passed color will move. Her photo has its own white balance, her screen has its own profile, and wool under her kitchen light is not wool under your studio light. One sentence next to the preview does the job:

AI preview of how this color may look on you. Screens and lighting shift the dye, and the preview does not check size or fit.

Put that sentence where she can see it without opening a tooltip. Phones do not invite tooltips. The longer list of what belongs beside the image, and what should stay off it, is in what to show beside a virtual try-on preview. Keep the color name in that panel identical to the swatch.

Three claims to keep out of the same panel:

  • “Exact color” or “true to life.” You cannot support that across her photo and her screen. The FTC’s guidance on keeping AI claims in check treats performance claims as deceptive when they lack support or hold only under some conditions. Lighting is a condition.
  • Fit language. “Your perfect fit” borrows trust from a color preview that never measured her. Size stays in the size guide, next to the size buttons, which is the split in try-on and size selector order.
  • A chip with no name. Color words are how she compares the preview, the cart, and the parcel. A circle of green is not a variant.

Returns tell you whether the sentence and the map are working. Antla merchant reporting, cohort dates not published, has recorded return rates up to 30% lower after stores added try-on, compared with the comparison group: those stores’ own earlier period, before try-on. Cohort dates are not published. That is a before-and-after on adopting stores, not a holdout of similar stores that never installed it, and the result varies by store and category. Read it on color and “not as pictured” tags. A drop in size returns is a different project. The measurement walk-through is in how virtual try-on reduces returns before checkout.

If color tags rise after you enable previews, audit the image map before you rewrite the copy. A correct sentence next to the wrong dye makes the return worse, because she trusted you.

Antla’s virtual try-on uses the product image you supply, so the color plan above is the work that makes the button honest. You can install it from the Shopify App Store and run the five mapping checks on the colors you already shoot well.

What color QA will not catch

  • Her bathroom light. You can show a well-lit example and you cannot grade her photo.
  • A swatch chip that was never the cloth. Fix the chip. The preview should follow the garment photo, and the photo should follow the garment.
  • Size confusion that sounds like color. “It looked different” sometimes means the hem or the shoulder. Read the comment, not only the tag.
  • A feed that still says Brown. The page can be perfect while Merchant Center collapses the name. Check the attribute when you check the swatch.

Check three colors before the drop

Pick the style with the most colorways and the most “not as pictured” tags. Lay out three dyes, confirm each has its own front file, click each swatch on a phone, generate a preview, and match the cart line to the cloth on the table. Pause any color that changes its name between those steps. Leave the one-line limit next to the image.

I would rather ship two accurate colors than six that share one hero. The shopper can forgive a missing preview. She remembers the coat that arrived in the wrong green.


About the author: Aaron founded Antla and treats a wrong-color preview as a fulfillment bug, not a creative one.