Removing a green-screen background cleanly
Chroma keying replaces one colour with transparency. It's simple in principle, but a few settings make the difference between a crisp sprite and one with a green halo.
Sample the colour, don't guess it
"Green" on camera is rarely #00FF00. Lighting, compression and the AI model all shift it. In the tool, click directly on the background in the live preview to sample its real colour. Sample a spot close to your subject, where the key matters most.
Tolerance: how close counts as background
Tolerance is the distance in colour space from your key colour that will be removed (0 to 442, the full RGB range). Start around 80 to 100 and adjust:
- Background patches left behind? Raise tolerance.
- Holes appearing in your subject? Lower it. Your subject probably contains a similar colour.
Uneven lighting: match on colour only
If the backdrop has shadows or hot spots, a single RGB tolerance can't cover both the dark and bright areas. Switch Match on to Colour only, ignore brightness. The tool then compares hue and saturation and ignores how light or dark a pixel is, so one tolerance keys the whole backdrop.
Edge feathering: soft outlines
A hard cut gives jagged, pixelated edges. Feathering fades pixels that are nearly background into partial transparency, producing smooth anti-aliased outlines. 10 to 20 suits most footage. Use 0 for pixel art, where you want hard edges.
Spill suppression: killing the halo
Green light bounces off the backdrop onto your subject's edges, hair and shiny surfaces. Even after keying, a green fringe remains. Spill suppression pulls the key colour back out of those edge pixels. Start around 60 and increase until the fringe goes, watching that skin tones and genuine greens on the subject stay natural.
Choosing a key colour for AI-generated video
- Use green for most subjects, or blue or magenta if your character wears green.
- Prompt for a "flat, evenly lit solid background, no shadows".
- Avoid white or black backgrounds if the subject has highlights or dark outlines, since those will key out too.
Check your result
The preview sits on a checkerboard, so any leftover background or halo is easy to spot. Scrub through several frames, especially fast-moving ones, since motion blur mixes subject and background colours.