What Is Chroma Keying?
Chroma keying — commonly known as green screen or blue screen compositing — is one of the most widely used visual effects techniques in film, television, and online video. At its core, it involves filming a subject in front of a solid-colored background, then digitally removing that color in post-production to replace it with any image or video you choose.
Whether you're a filmmaker on a budget or a VFX artist learning the ropes, understanding how to pull a clean key is an essential skill.
Why Green (or Blue)?
The reason green and blue are used — rather than red or yellow — comes down to human skin tones. Human skin contains very little green or blue pigment, which makes it easier for keying software to distinguish between the subject and the background. Green is the most popular choice today because modern digital camera sensors are most sensitive to green light, resulting in less noise in the key.
- Use green when your subject isn't wearing green clothing and the scene doesn't require extensive tracking of blond or light hair against blue skies.
- Use blue when working with subjects wearing green, or for certain film stocks and night scenes.
Setting Up Your Green Screen Shoot
A good composite starts long before you open your editing software. The quality of your key depends heavily on how well your shoot is executed.
1. Light the Background Separately
The single biggest mistake beginners make is not lighting the green screen independently from their subject. Uneven lighting creates hot spots and shadows, which means some areas of the green are a different shade — making them much harder to key out cleanly. Use soft, diffuse lights positioned on either side of the screen at roughly 45-degree angles.
2. Keep Your Subject Away from the Screen
Distance matters. Place your subject at least 4–6 feet away from the background. This prevents two major problems: green spill (green light bouncing off the screen onto your subject) and shadows cast by the subject onto the screen.
3. Shoot in the Highest Quality Available
Compression is the enemy of a clean key. Highly compressed video codecs reduce the color information in the frame, making fine details like hair and transparent fabrics much harder to isolate. Shoot in at least 4:2:2 color sampling if possible, and avoid heavy in-camera compression.
Pulling the Key in Post-Production
Most professional compositing software includes dedicated keying tools. Here's how the process generally works:
- Apply a keyer — In After Effects, use the Keylight plugin. In DaVinci Resolve, use the built-in Delta Keyer in Fusion. In Nuke, use the IBK Keyer or Primatte.
- Sample the screen color — Click on a mid-tone area of the green screen to set your base key color.
- Refine the matte — Adjust clip white and clip black settings to clean up the alpha channel. Your matte should be pure white where the subject is and pure black everywhere else.
- Deal with spill suppression — Apply spill suppression or use a hue rotation to remove any green color cast from the edges of your subject.
- Integrate your background — Match the color temperature, lighting direction, and grain/noise of your background plate to make the composite feel believable.
Common Mistakes to Avoid
- Wrinkled or creased green screen fabric — iron or stretch it smooth.
- Reflective or shiny clothing — these can pick up green spill badly.
- Shooting in auto white balance — always lock your white balance manually.
- Ignoring motion blur — if your subject moves fast, ensure your keyer handles motion blur edges properly.
Next Steps
Once you've mastered the basic chroma key, explore advanced techniques like rotoscoping for shots where a clean key isn't possible, and match moving to track camera motion and pin your background correctly. Compositing is a craft that rewards patience and attention to detail — the more you practice, the cleaner your results will become.