Couple in formal wear standing on a dock with their backs to the camera, arms around each other, looking out over water at a city skyline, illustrating how to replace a skyline in Photoshop.
  • How to Replace a Skyline in Photoshop

  • Aaron Nace
    by Aaron Nace
    January 17, 2014
  • Add to
    favorites

description

Swapping a mountain backdrop for a city skyline is mostly a color problem, not a masking one. This free tutorial scales the new skyline in, lines its horizon up with the original, then matches the two images with a Curves layer clipped to the skyline alone — pushing the Blue channel to pull out yellow and evening out the overall brightness. Once the color agrees, a large, low-flow brush is all the transition needs.

Replace Skyline

How to Replace a Skyline in Photoshop

Compositing a new skyline into a photo comes down to two things done well: matching color and building a clean mask — and getting the color right first makes the masking part far easier than it looks. This tutorial swaps a mountain backdrop for a city skyline, matches their color with a clipped Curves layer, and finishes the transition with a soft brush mask.

Bringing the New Skyline Into the Image

Choosing two images that share a similar composition, like both having water in the foreground, makes the eventual composite noticeably easier.

  1. Move the Skyline Into the Base Image

    Press V for the Move tool, then hold Shift and drag the skyline image into the base photo’s document.

  2. Transform and Scale to Fit

    Press Cmd/Ctrl+T to bring up Transform, lock the width and height together, and scale the skyline down so it fits proportionally within the frame.

Aligning the Horizon Between Both Images

With the skyline roughly scaled, its horizon line needs to line up with the original photo’s horizon.

  1. Lower Opacity to See Both Images

    Temporarily lower the skyline layer’s opacity so both images are visible at once for easier alignment.

  2. Reposition Until the Horizons Match

    Drag the skyline layer up or down until its horizon lines up with the horizon in the base photo, then confirm the transform.

  3. Restore Full Opacity

    Bring the skyline layer’s opacity back up to 100% once the horizons align. With the Move tool active, press V, then 0.

Matching Color With a Clipped Curves Layer

Before doing any masking, getting the color to match closely is what actually determines how convincing the final composite will look.

  1. Add a Rough Mask to Compare the Two Images

    Add a layer mask to the skyline layer and paint black with a regular brush along the bottom, just enough to compare the water in both images side by side.

  2. Add a Curves Layer and Clip It

    Add a Curves adjustment layer, then right-click it and choose Create Clipping Mask so the adjustment only affects the skyline layer beneath it.

  3. Reduce Yellow by Pushing the Blue Channel

    Go to the Blue channel and pull it up, since adding blue is the same as removing yellow, to correct a skyline image that leans too yellow.

  4. Adjust the Green Channel

    Go to the Green channel and nudge it up or down until the greens in both images read similarly.

Why Clipping the Curves Layer to Just the Skyline Matters

An unclipped Curves adjustment would change the color of the entire image, including the original photo that’s supposed to stay untouched. Clipping the adjustment so it only affects the skyline layer means every color correction is isolated to exactly the piece that needs to match, without disturbing anything else in the composite.

Fine-Tuning Overall Brightness to Match

Beyond individual color channels, matching the overall brightness between the two images closes the remaining gap.

  1. Brighten or Darken the RGB Curve

    Go to the RGB channel, which controls overall light and dark, and nudge the lights up or the darks down until the two images’ brightness levels feel consistent.

  2. Compare the Transition Repeatedly

    Toggle the skyline layer on and off while comparing the two images directly, continuing to adjust channels until the seam between them becomes hard to notice.

Why Red, Green, and Blue Each Have an Opposite Color

In Photoshop, pulling a channel’s slider one way pushes its opposite color the other way: less blue means more yellow, less red means more cyan, and less green means more magenta. Understanding this relationship is what makes it possible to correct a specific unwanted color cast, like too much yellow, by adjusting the channel that directly controls it rather than guessing.

Masking the Transition With a Soft, Low-Flow Brush

With color matched closely, the mask itself becomes a much easier, more forgiving job.

  1. Choose a Large, Soft Brush at Low Flow

    Select the layer mask, choose a large soft-edged brush, and lower its flow so black paints in gradually rather than all at once.

  2. Paint Out the Seam Gradually

    Paint over the horizon line and any other visible seam a little at a time, building up a smooth, gradual transition between the two images.

  3. Refine Around Complex Edges

    Zoom in and use a smaller brush to carefully paint around trickier areas, such as a subject standing in front of the new skyline, or a mountain that needs to read as a building instead.

Why a Brush Mask Is Fine Here, but Not for Client Work

A brush-based mask is quick to paint but won’t have the crisp precision of a mask built with the Pen tool along complex edges. For a free, quick tutorial like this one, a well-matched color makes a brush mask perfectly convincing, but for client work or anything that needs to hold up to close inspection, taking the extra time to build a precise Pen tool mask is worth the investment.

Restoring the Original Vignette for Consistency

A small final touch brings back a detail from the original photo that the composite would otherwise lose.

  1. Paint Back a Bit of the Original Vignette

    Select the mask again and paint a small amount of black back in around the edges to restore some of the original image’s natural vignetting.

Why This Approach Works

Matching color before spending real time on the mask flips the usual order most people assume compositing requires, and it works because a well-matched seam barely needs a precise mask to look convincing. Clipping the Curves adjustment to only the skyline layer keeps every color correction contained to the piece that actually needs it, and understanding which channel controls which opposite color turns color matching from guesswork into a repeatable, learnable skill. None of this replaces careful masking entirely, which is exactly why a Pen tool mask still matters for client work, but for a quick, convincing composite, color does most of the heavy lifting.

Final Thoughts

Compositing a new sky or skyline into an image comes down to the same two ingredients every time: get the color close, then let a soft, low-flow mask handle the transition. Practicing the relationship between each color channel and its opposite is worth the effort, since it turns color matching into something far more intuitive the more you do it.

Quick Reference: Keys, Menus and Settings

  • Bring it inV, Shift-drag the skyline into the photo; Cmd/Ctrl + T with width and height linked
  • Line up the horizonLower the opacity, move, confirm; V then 0 for 100%
  • Clip the color fixCurves adjustment layer, right-click > Create Clipping Mask
  • Match the colorBlue channel up to remove yellow, Green channel to taste, RGB for lights and darks
  • Mask the seamLayer mask, large soft brush, black, low flow; smaller brush zoomed in around the couple
  • Keep the vignettePaint black on the mask at the edges to show the original vignetting

No AI, no generative credits.

Replacing a Skyline: Common Questions

What makes two photos easy to composite?

A similar layout. Both photos here have water in the foreground, which makes the new skyline much easier to blend in.

How do I move the skyline into my photo?

Press V for the Move tool, then Shift-drag the skyline from its document into the base photo. Press Cmd/Ctrl + T and scale it down with the width and height locked together.

How do I line up the two horizons?

Lower the skyline layer’s opacity so you can see both photos, move it until the horizons match and confirm the transform. With the Move tool active, press 0 to go back to 100%.

Should I match the color or the mask first?

Color. Aaron masks only the bottom roughly so he can compare the water in both photos, then matches the color. When the color is close, the mask doesn’t have to be perfect.

Why does my Curves layer change the whole image?

It isn’t clipped. Right-click the Curves adjustment layer and choose Create Clipping Mask; the arrow shows it now affects only the skyline layer below it.

How do I take yellow out with Curves?

Go to the Blue channel and pull the curve up. The opposite of blue is yellow, the opposite of red is cyan and the opposite of green is magenta.

How do I match brightness between the two photos?

In the same Curves layer, choose RGB, which is light and dark only. Bring the lights up or the darks down while you compare the seam.

Which brush should I use to mask the seam?

A large, soft-edged brush in black with a low flow, so it builds up a little at a time. Zoom in with a smaller brush around the people in front of the skyline.

Is a brush mask good enough for client work?

Aaron uses a brush here because it’s quick. For a client, he recommends the Pen tool to make the mask precise.

Master Photoshop, Lightroom and Photography

Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.

As featured in
  • 500px
  • Adobe
  • Fstoppers
  • HuffPost
  • Inc.
  • PetaPixel