What Is Chroma Keying?

Chroma keying — commonly called green screen or blue screen compositing — is one of the most widely used visual effects techniques in film, television, and online video. The process works by isolating a specific color range in your footage and replacing it with a different background, whether that's a fantasy landscape, a data visualization, or a simple office backdrop.

Done correctly, a good chroma key is completely invisible to the viewer. Done poorly, it's painfully obvious. The difference almost always comes down to preparation and process.

Step 1: Setting Up Your Green Screen

The most important part of a clean key happens before you even press record. Follow these principles for the best results:

  • Even lighting: Light your green screen separately from your subject. Hotspots and shadows create color variations that make keying far more difficult.
  • Distance from the screen: Keep your subject at least 1.5–2 metres away from the backdrop. This prevents green light from spilling onto your subject's hair, shoulders, and clothing.
  • Avoid green clothing: Any green worn by your subject will become transparent. Warn talent in advance — this includes green jewellery and lenses in glasses.
  • Use a wrinkle-free surface: Wrinkles create shadows and uneven colour, both of which complicate the keying process.

Step 2: Shooting with Keying in Mind

Your camera settings matter enormously. Shoot in the highest quality codec your camera supports. Highly compressed footage (such as heavily processed H.264) causes colour blocking that makes pulling a clean key much harder.

  • Use a higher bit rate: 4:2:2 colour sampling is significantly better than 4:2:0 for keying work.
  • Avoid motion blur where possible: Fast motion creates semi-transparent edge pixels that are difficult to key cleanly.
  • Shoot in a flat/log profile: This preserves more colour data for post-production work.

Step 3: Pulling the Key in Software

Most professional compositing applications include dedicated keying tools. Here's a general workflow applicable in tools like After Effects (Keylight plugin), DaVinci Resolve (Qualifier), or Nuke (IBK Keyer):

  1. Sample the key colour: Use an eyedropper to select the dominant green from your background.
  2. Refine the matte: Adjust clip black and clip white settings to clean up the alpha channel — you want pure black in transparent areas and pure white on your subject.
  3. Deal with fine detail: Hair and translucent edges need special attention. Use edge-softening or matte choker tools to preserve natural-looking edges.
  4. Treat green spill: Apply a spill suppressor to remove any residual green bounce from your subject's edges.

Step 4: Compositing the Final Shot

Once your key is clean, you need to integrate your subject convincingly into the new background:

  • Match the lighting: If your background has light coming from the left, add a practical light or grade to reflect that on your subject.
  • Add camera grain: Background plates often have visible grain. Add matching grain to your keyed layer so everything sits on the same "film plane."
  • Colour grade together: Apply a unified colour grade on top of both layers to tie the composite together.

Common Mistakes to Avoid

MistakeWhy It's a ProblemFix
Uneven screen lightingCreates patchy, unusable keysUse at least two lights on the screen
Subject too close to screenGreen spill contaminates edgesIncrease distance to 1.5m+
Low-quality codecColour artefacts ruin the matteShoot in a higher bitrate format
Skipping spill suppressionSubject looks "fake" against the backgroundAlways apply a spill suppressor

Final Thoughts

Green screen keying is a skill that rewards patience and preparation. The more effort you put in on set, the less time you'll spend battling a difficult key in post. Start with well-lit, high-quality footage, work systematically through your matte refinement, and always ground your composite with matching light and colour. With practice, clean keys become second nature.