Here’s how the Match Color adjustment is used to give a daytime image a sunset effect
Load a daytime image and a picture of a sunset into Photoshop. Crop out any jet black areas within the sunset image, such as trees. The Match Color adjustment reads the colours in the sunset and transfers them to the other image.
For this effect, make the daytime image the active document. Go to Image>Adjustments>Match Color, and inside this menu set Source to the sunset image. The changes should be immediately visible.
Adjust the effect by boosting Luminance to 200 for maximum brightness. Boost Color Intensity to 120 for stronger hues and hit OK to apply the effect, converting your image into a sunset!