Home › Image Tools › Photo Color Match

Photo Color Match

Give your photo the look of any other picture: drop in your image and a reference whose colors you like, and the tool shifts its color and brightness statistics to match. Dial the strength, compare before and after, and download the full-size result.

Last updated:

1Your photothe image to recolor

2Reference lookthe colors to copy

BeforeAfter

Channel statistics (lαβ)

ChannelYour photo
mean ± std
Reference
mean ± std
Result
mean ± std
Advertisement
Advertisement

How to use the Photo Color Match

  1. Add your photo in box 1 (the image you want to recolor). Sample photos are loaded so you can see the effect right away.
  2. Add a reference in box 2: a photo, film still or painting whose colors you want to copy.
  3. Adjust Strength and choose whether to also match brightness and contrast.
  4. Compare by dragging across the image or moving the before/after divider; try the CIELAB color space for a different look.
  5. Press Download matched photo to save the full-size result.

The Reinhard color transfer formula

For each of the three channels c of the chosen color space, the tool computes the mean μ and standard deviation σ of your photo (t) and of the reference (r), then remaps every pixel value x:

x′ = μr + (x − μt) × σr / σt

The result keeps the shapes and details of your photo but takes on the average color and the color spread of the reference. Strength blends between the original and the fully matched value in the same color space: x″ = x + s × (x′ − x). With Match brightness and contrast turned off, the lightness channel is left untouched and only the two color channels change.

From RGB to lαβ

StepOperation
1. RGB → LMSL = 0.3811 R + 0.5783 G + 0.0402 B
M = 0.1967 R + 0.7244 G + 0.0782 B
S = 0.0241 R + 0.1288 G + 0.8444 B
2. LogarithmL, M, S are replaced by log10, which turns multiplicative lighting changes into simple shifts
3. Decorrelatel = (L + M + S) / √3
α = (L + M − 2S) / √6
β = (L − M) / √2
4. TransferMean and standard deviation of l, α and β are matched to the reference
5. Back to RGBThe inverse rotation, 10x and the inverse LMS matrix give the final RGB values

CIELAB mode uses the standard sRGB → XYZ (D65) → L*a*b* conversion instead, where L* is lightness from 0 to 100 and a*, b* are the green–red and blue–yellow axes.

Tips for a convincing color match

  • Match like with like: a sunset reference suits an outdoor scene; for portraits use a portrait reference so skin tones stay believable.
  • Start at 60–80% strength: a partial match often looks more natural than a full one.
  • Keep your exposure: untick Match brightness and contrast when your photo is already well exposed and you only want the color mood.
  • Batch a consistent look: use the same reference for every photo in a set (an album, a product shoot, a video thumbnail series) to give them a unified grade.
  • Crop the reference to the part whose colors you want if it contains large areas you do not want copied, such as a black border.

Frequently asked questions

How does photo color matching work?

The tool converts both images to a color space where lightness and the two color axes are almost independent, measures the mean and standard deviation of each channel, and then shifts and scales every pixel of your photo so its channel statistics equal those of the reference: new = (value − mean of your photo) × (std of reference ÷ std of your photo) + mean of reference. This is the color transfer method published by Reinhard, Ashikhmin, Gooch and Shirley in 2001.

What is the lαβ color space?

lαβ is a color space designed by Ruderman, Cronin and Chiao (1998) from the statistics of natural images. RGB is converted to LMS cone responses, a logarithm is taken, and the result is rotated into one lightness axis (l) and two opponent color axes (α for yellow–blue, β for red–green). Because these axes are nearly uncorrelated in photos, each one can be adjusted separately without strange color shifts.

Should I use lαβ or CIELAB?

Reinhard lαβ is the classic choice and usually gives the most natural transfer, especially for skies and landscapes. CIELAB measures color more perceptually and often gives stronger, more saturated grading. Both are quick to compare: switch the Color space menu and the preview updates instantly.

What makes a good reference photo?

Pick a reference with a similar mix of content to your photo: a landscape for a landscape, a portrait for a portrait. The method matches overall statistics, so if the reference is mostly sky and your photo is mostly grass, the grass will take on sky colors. Lower the Strength or untick Match brightness and contrast when the result looks too strong.

Why does my result look noisy or blotchy?

If your photo is very flat in one channel (for example almost gray) and the reference is very colorful, that channel gets stretched a lot, which amplifies noise and JPEG artifacts. Keep Limit extreme stretching on, which caps the scale factor between 0.4 and 2.5, or reduce the Strength.

Is this the same as applying a LUT or filter?

Not exactly. A LUT or filter applies the same fixed color change to every photo, while color matching calculates a new adjustment for each pair of images, so the result adapts to your photo's starting colors. The output is still a normal image that you can edit further.

Are my photos uploaded?

No. Both images are decoded and processed in your browser with the Canvas API. Nothing is sent to a server, and the full-size result is generated on your device when you press Download.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

White Balance CorrectorFix color casts: click a neutral gray point or use auto gray world, then fine-tune temperature and tint.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Color Palette from ImageExtract the main colors of any photo as HEX codes, CSS variables and a palette PNG.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Color Palette GeneratorGenerate beautiful color palettes and export them.HEX to RGBConvert HEX colors to RGB and other formats.RGB to HEXConvert RGB to HEX with sliders, live swatch and one-click copy.HEX to HSLConvert HEX colors to HSL and back with interactive sliders.RGB to CMYK ConverterConvert RGB and HEX colors to CMYK for print, and back.Color Contrast CheckerCheck WCAG contrast ratios and find accessible text colors.Pantone to HEXLook up approximate HEX, RGB and CMYK values for Pantone colors.Color Name FinderFind the closest color name for any HEX or RGB color.Color Blindness SimulatorSee any image as people with protanopia, deuteranopia, tritanopia or achromatopsia see itImage Color PickerPick any pixel colour from an image and get HEX, RGB, HSL plus a paletteColor Shades GeneratorTurn one HEX color into a 50-950 scale plus tints, shades and tones, ready to export.Tailwind Color GeneratorTurn one color into a full Tailwind 50–950 shade scale and export the config or CSS.Color MixerMix two colors in sRGB, linear, OKLab or OKLCH, or blend them with Photoshop-style modes.Random Color GeneratorGenerate random HEX colors one at a time or in batches, with hue, saturation and lightness ranges.Color WheelFind complementary, triadic, analogous and other color harmonies on an interactive wheel.Color PickerPick any color and get HEX, RGB, HSL, HSV and CMYK codes, shades and a screen eyedropper.HTML Color CodesAll 140 HTML color names with HEX and RGB codes, plus the 216 web-safe colors. Click to copy.Replace Color in ImageClick a color in a picture and swap it for a new color or transparency, keeping the shading.CMYK to RGBConvert CMYK percentages to RGB and HEX color codes with sliders and a live preview.HSL to HEXConvert HSL and HSLA colors to HEX and RGB with sliders and a live preview.HEX to RGBAConvert HEX color codes to CSS rgba() with an opacity slider and one-click copy.RGBA to HEXConvert rgba() colors to 8-digit HEX, or flatten transparency onto any background.HEX to CMYKConvert HEX color codes to CMYK percentages for print, with a live preview.HEX to PantoneFind the 5 closest Pantone-style solid coated colors for any HEX or RGB, ranked by Delta E.Color Temperature to RGBConvert a color temperature in kelvin (1000-40000 K) to RGB and HEX with a live swatch.OKLCH Color ConverterConvert HEX, RGB and HSL to OKLCH, OKLab, Lab and LCH with sRGB and P3 gamut checks.RAL to HEXLook up RAL Classic codes as HEX, RGB and CMYK, search by name or find the nearest RAL.RGB to HSLConvert RGB values to HSL, HSV and HWB with a live swatch and copy-ready CSS.Color Code ConverterConvert a color between HEX, RGB, HSL, HSV, CMYK, LAB, LCH and OKLCH with a live swatch.Room Paint Color VisualizerUpload a room photo, select the walls and preview any paint color or HEX with real lighting.Photo to Pop ArtMake Warhol-style pop art from a photo: posterized color tiles in 1, 4 or 9 grids with custom palettes.Screen Color PickerPick any pixel color from anywhere on your screen and copy it as HEX, RGB or HSL.Solid Color Image GeneratorMake a plain single-color or transparent image in any size, like 1920x1080, as PNG or JPG.CMYK to HEXConvert CMYK percentages to a HEX color code and RGB, with a live swatch and shades.Underwater Photo Color CorrectionRestore lost reds and remove the blue or green cast from underwater photos by depth.
See all 38 Color Tools →