Chroma Keying in Photoshop: A Step-by-Step Guide
Chroma keying, also known as green screening, is a visual effects technique used to replace the background of a video or image with a different image or video. Adobe Photoshop is a popular choice for chroma keying due to its powerful tools and features. In this article, we will walk you through the process of chroma keying in Photoshop, from preparation to final output.
Preparation
The first step in chroma keying is to prepare your image or video. Ensure that the background is evenly lit and has a uniform color. A green screen is the most common choice for chroma keying, but you can use any color as long as it is not too close to the color of the subject. Remove any objects or distractions from the background that may interfere with the keying process.
Setting Up the Image
Open your image in Photoshop and create a new layer by going to Layer > New > Layer. Name this layer "Background" or "Key". This layer will hold the final output of the chroma keying process. Set the layer's mode to Normal and its opacity to 100%.

Keying the Image
Choose the Magic Wand Tool by going to Window > Tools and selecting it from the toolbar. Select the green screen area of the image by clicking and dragging the Magic Wand Tool over the green background. Make sure to hold the Shift key to add to the selection or Alt key to subtract from the selection.
- Edge Detection: You can use the Refine Edge Tool to refine the edge detection of the selection. Go to Select > Refine Edge and adjust the settings as needed.
- Threshold: You can adjust the threshold value to refine the selection. Go to Filter > Adjustments > Threshold and adjust the value to suit your needs.
- Anti-Alias: You can use the Anti-Alias option to soften the edges of the selection. Go to Edit > Purge > Anti-Alias and adjust the value as needed.
Removing the Background
Once you have selected the green screen area, use the Background Eraser Tool to remove the background. This tool will replace the selected area with the layer's background color, which is currently set to white. You can adjust the brush size and hardness to fine-tune the erasing process.
Refining the Edges
Use the Healing Brush Tool to refine the edges of the subject. This tool will blend the edges of the subject with the surrounding area, creating a seamless transition. Make sure to work in Real-Time mode by going to Edit > Preferences > Performance and checking the box next to "Use Real-Time Preview".

Adding a New Background
Once you have removed the green screen background, it's time to add a new background. Create a new layer by going to Layer > New > Layer and name it "Background" or "Key". This layer will hold the new background image or video. Import your background image or video and adjust its size and position to fit your needs.
Final Output
Once you have added the new background, you can adjust the layers' opacity and blending modes to fine-tune the final output. You can also use other Photoshop tools and features, such as the Spot Healing Brush Tool and Adjustment Layers, to further enhance the final result.
Chroma keying in Photoshop is a powerful technique that can be used to create a wide range of visual effects. By following these steps, you can achieve professional-grade results and take your video or image to the next level.
| Software Requirements | Image Resolution | Color Space |
|---|---|---|
| Adobe Photoshop CC or later | At least 1024x768 pixels | RGB color space |