Skip to content

How to Match Product Colors Accurately From a Reference Photo

Learn how to match product colors from a reference photo while accounting for lighting, white balance, material, shadows and screen differences.

Before-and-after split of a burgundy top recolored to coral, beside a reference color swatch, sampled highlight, midtone and shadow swatches, and recolored chair and sandal examples, illustrating how to match product colors from a reference photo.

If you’re recoloring a product for ecommerce, the edited image needs to represent a real product color. That means working from a reliable reference and understanding what that reference can - and can’t - tell you.

A reference photo isn’t a perfect measurement of physical color. Lighting, white balance, camera settings, material and the screen you’re viewing can all affect how a color appears.

So accurate color matching isn’t about copying a single pixel value, it’s about using the reference intelligently.

Why can’t you just sample the color from the reference photo?

A single product can contain many different color values within the same photograph. Highlights may appear lighter, shadows darker and midtones closer to the product’s base color.

This is because a photograph records color plus light. The color values within an image are influenced by:

  • Lighting
  • Exposure
  • White balance
  • Shadows and highlights
  • Reflections
  • Camera processing
  • The material’s surface

Sampling a single pixel therefore doesn’t necessarily provide an accurate representation of the product’s overall color.

The aim is to assess a representative range of color across the product, rather than identify one “correct” pixel.

Highlight, midtone and shadow areas of the same burgundy product producing different sampled color values.

1. Start with the most reliable reference available

Ideally, your reference should show the actual product or material you’re trying to reproduce.

Useful references can include:

  • A professionally photographed physical sample
  • A fabric or material swatch
  • A manufacturer-approved product image
  • A controlled photograph taken specifically for color reference
  • An approved product specification alongside a visual reference

A compressed screenshot, social media image or photograph taken under strongly colored lighting gives you much less reliable information.

If several references are available, compare them rather than assuming one image is automatically correct.

Different product color reference photos compared by their usefulness for accurate color matching.

2. Check the lighting in the reference photo

Assess the lighting conditions in the reference before evaluating the product color.

Consider whether the image appears warm, cool or neutral; under- or overexposed; or affected by multiple light sources.

A white or neutral area can help identify an overall color cast.

Determine whether any apparent color shift comes from the product itself or from the lighting in the photograph.

Same product photographed under warm, neutral and cool lighting to show how lighting changes perceived color.

3. Check white balance before matching color

White balance affects the overall color balance of an image. If it is incorrect, colors can appear warmer or cooler than they are in the physical product.

For example, a neutral grey may appear blue in an overly cool image or yellow in an overly warm image.

Check and correct any obvious white-balance issues before using a photograph as a color reference. Otherwise, the reference itself may be inaccurate.

Product photo with warm, neutral and cool white balance showing the effect on product color.

4. Compare midtones, not just one sampled pixel

Highlights and shadows naturally distort the apparent color of a surface. For that reason, midtone areas can often provide a more useful starting point when assessing the underlying product color.

Look for an area that:

  • Isn’t in deep shadow
  • Isn’t catching a strong highlight
  • Isn’t reflecting another object
  • Shows the material clearly
  • Appears representative of the wider product

Sample several nearby areas rather than relying on a single pixel. This provides a more representative range of the product’s overall color.

Multiple midtone color samples taken from a product reference instead of relying on a single pixel.

5. Consider the material you’re matching

The same color can appear different depending on the material and surface finish. Texture, reflectivity and sheen all affect how light interacts with the product and therefore how its color appears in a photograph.

For example, matte fabric will reflect light differently from satin, leather, metal or a glossy surface.

The target color should therefore be applied in a way that preserves the lighting, texture and surface characteristics of the product being edited.

Burgundy color shown on different product materials to demonstrate how surface properties affect color appearance.

6. Match the color while preserving the target image’s lighting

Your reference image tells you what color you’re aiming for.

Your master product image tells you how the light falls across the product.

You generally don’t want to copy the reference image’s shadows and highlights onto the master photograph.

Instead, change the master product’s color while retaining its existing:

  • Highlights
  • Shadows
  • Texture
  • Reflections
  • Shape
  • Surface detail

Think of the two images as providing different information:

REFERENCE IMAGE = TARGET COLOR

MASTER IMAGE = LIGHTING + TEXTURE + FORM

The finished variant combines the two.

Diagram showing reference color combined with the master image’s lighting and texture to create a matched product variant.

7. Use Photoshop’s color tools as a starting point

Photoshop provides several tools that can help with color matching, including sampled colors, Hue/Saturation adjustments and Match Color.

But software doesn’t know which aspects of the reference image represent the actual product color and which come from lighting, reflections or exposure.

Automatic matching can therefore be a useful starting point, but the result still needs visual evaluation.

For product work, compare the edited version against the reference and refine it visually rather than relying solely on a numerical or automated match.

8. Compare more than hue

Two colors can have a similar hue and still look noticeably different.

When comparing your edit with the reference, consider:

  • Hue - What family of color is it?
  • Saturation - How intense or muted is it?
  • Brightness/lightness - How light or dark does it appear?

A burgundy with excessive saturation may appear red, while a dark sage green may appear olive and an overly warm beige may appear tan. Assess hue, saturation and brightness together when evaluating the overall color match.

Product color matching examples showing the effect of incorrect saturation and brightness despite a similar hue.

9. Compare equivalent areas of both images

When comparing the reference and edited images, use areas with similar lighting and tonal values. Compare midtones with midtones, highlights with highlights, and shadows with shadows.

This provides a more accurate assessment of whether the color is consistent across the product’s full tonal range.

Equivalent highlight, midtone and shadow areas compared between a reference photo and edited product image.

10. Account for reflections and surrounding colors

Reflections and surrounding surfaces can influence the colors recorded in a product photograph, particularly on glossy, metallic or reflective materials.

These reflected colors should be distinguished from the product’s actual color when matching to a reference. Genuine reflections should be preserved where appropriate to maintain a natural appearance, but should not be transferred from the reference if they are not present in the master image.

The aim is to match the product color while preserving the lighting and reflections of the master image.

11. Review the match at normal size and close up

Zoom in to inspect:

  • Edges
  • Texture
  • Fine details
  • Color contamination
  • Masking
  • Highlights and shadows

Review the image again at normal viewing size.

  • Does the edited variant read as the same color as the reference?
  • Does the product still look natural?
  • Are any areas noticeably too warm, cool, dark or saturated?
  • Does the material still behave realistically?

Both views matter. A technically clean mask doesn’t guarantee a convincing overall color match.

Product color match checked at 100 percent zoom for editing detail and normal size for overall color accuracy.

Can you match a product color exactly from a photo?

A reference photo cannot provide an absolute representation of physical color. Its appearance is influenced by factors including lighting, camera settings, image processing and the display used to view it.

The aim is therefore to create an accurate visual representation of the product using the best available reference.

Where precise color measurement is required, a photograph should be supported by a controlled color-management workflow and physical color data.

What if the reference photo is inaccurate?

If reference images show inconsistent colors or contain obvious lighting or white-balance issues, verify the target color before creating the variants.

Where possible, compare the reference against:

  • The physical product
  • An approved color swatch
  • Another controlled reference image
  • Manufacturer specifications

Color matching should always be based on the most reliable reference available.

Good color matching starts with a reliable reference

Accurate color matching requires a reliable reference and a consistent process that preserves the product’s original lighting, texture and form.

CHECK REFERENCE → ASSESS LIGHTING → SAMPLE → MATCH → COMPARE → QC

For larger ecommerce catalogues, Path’s professional color change services can apply approved color references consistently across multiple products and variants.

You Might Also Like

Find the time to fall in love with
your work again

Get started