Automatically Match colors to the background of an image with harmonization in Photoshop

Colin Smith

Subscribe on YouTube:

Match color and tone on background to layer in photoshop

Worth mentioning, although this feature shares a similar name with Harmonize, this harmonization neural filter is a completely different feature.

Use object selection to cut out 2 people from the background. Drop them onto a new background and use the Harmonization Neural filter to make the colors and tones match automatically.

Start with a photo of our 2 people.

Man and woman standing back to back with arms crossed against a gray wall

Choose the Object selection tool.

Object Selection Tool highlighted in the Photoshop toolbar

We can automatically select individual objects on screen. As you roll over, you will see an outline. If you click, the highlighted object will become selected. Hold the Shift key and click the second person to add to the selection

Man highlighted in blue by Object Finder on hover

In this case, we want to cut out both people. You could also Click on select Subject at the top of the screen if you presef.

Select Subject and Select and Mask buttons in the options bar

You will notice, both people are automatically selected.

Marching ants around both people after Select Subject

We want to make the edge of the selection better.

Click on Select and Mask at the top

We enter the select and mask workspace, where we refine the edges.

Under View, choose on white, or on black, and push the Opacity to 100%. Now you can see the edge of the selection.

Couple shown on white at 100 percent opacity in Select and Mask

Choose the refine edge brush from the tools on the left.

Refine Edge Brush tool in the Select and Mask toolbar

With the brush quite small, run it around the edges of the hair, and notice the selection of the hair looks better.

Tip: When using the refine edge brush, keep most of the bush outside the hair, with only ÂĽ to 1/3 of the brush inside the hair.

Couple cut out cleanly on a transparent background

Choose Output to New Layer with Layer Mask.

Click ok.

Select and Mask settings with Decontaminate Colors and Output To New Layer with Layer Mask

You will see the selection is now cut out using a layer mask. You can further refine your cutout by painting in the layer mask. White will show pixels, black will hide pixels.

Background copy layer with the couple's layer mask in the Layers panel

Open the dark moody background image

Dark moody photo of misty snow-capped mountains and pine trees

To combine the images, grab the move tool (V key)

Couple placed over the dark mountain background, still lit for the gray studio

Drag the image of the people into the tab of the background image.

Still holding down your mouse button, the background image will appear. Drag to the middle of the image and release your mouse.

You will see the people have been added as a new layer.

Couple layer above the mountain background in the Layers panel

The images are now combined.

There is a challenge here. The color and tone of the top layer doesn’t match the background

Matching the color and tone

There is a brand new tool to help us fix this.

Filter>Neural filters.

These are a set of AI powered tools to help us work faster.

Click on the Harmonization filter and turn it on. (If you see a cloud icon, click it first to download and install the filter).

Neural Filters panel with Harmonization turned on over the composite

In the properties of harmonization, you will see a selection menu, named select a layer. Choose the background (the only available option in this image).

Harmonization Background Image menu with Background chosen

You will see a preview of the image used as the new base color.

Harmonization showing the mountain image as the reference

The colors of the people will change to reflect the background color better.

Couple recolored with cooler, darker tones matching the mountains

There are several sliders you can use if the colors don’t match the way you want.

In this case, I reduced the saturation and brightness to get a better match.

Harmonization sliders with Strength 75, Saturation minus 13 and Brightness minus 4

Choose output to a Smart Filter

Neural Filters Output menu with Smart Filter checked

The filter will be applied as a Smart Filter

Background copy layer with Neural Filters as a Smart Filter

Our result. Things match better. It looks a little bit like the start of a movie poster.

Final composite of the couple harmonized with the stormy mountain background

Come back tomorrow for another tutorial on a different new feature in Photoshop 2022

PHOTOSHOP 2022 SUPERGUIDE

Great to see you here at the CAFE

Colin

Check out this important tutorial BEFORE updating

See you at the CAFE

Colin


Follow along for more tips

Recommended for this tutorial

Complete Guide to ai in Photoshop 2026

Generative Fill, Firefly, Harmonize and every AI tool in Photoshop, step by step.

$79.00 · one-time purchase · instant download

Photoshop Vault: free Layer Blend Modes ebook, actions, brushes, presets and cheat sheets

Free for you

The Photoshop Vault

Get my free Layer Blending Modes ebook along with dozens of exclusive Photoshop goodies: actions, brushes, presets and cheat sheets.

You're on the list, so your free goodies are waiting for you in the Vault.

Get Free Photoshop Goodies Open the Vault

3 comments

  1. Geo Gibbons

    This filter seems a lot like Match Color, at least when matching color and tones of one layer with another layer/image. I use Color Match a lot so your tutorial got me psyched about trying the new filter. After downloading the neural filters, I tested Harmonization a couple times. It seems a little quicker for getting (maybe better) results and it’s a lot more intuitive with its adjustments. Thanks for the heads up on this feature. I would love to see your tutorials on all the neural filters.

  2. Steven Levinson

    I really enjoyed the videos, and I have one question that no one seems to answer. Let’s say you want to use harmonization and you have a photo that is let’s say six layers, each one being a different component. I understand if you harmonize two layers, a background And a subject from the patient works very well. If you’re in a position of having six layers, if you select one layer with the harmonization neural filter work on all of the layers and harmonize them.

    Thanks so much.

    1. Colin Smith Author

      Hold down Alt+Shift+Ctel+E and make a new composite layer and apply the filter to that layer

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copy link