How do you keep green clothes from disappearing in a green screen key?

If the key erases a green shirt, protect the shirt with a holdout mask and key the rest of the frame. For a flat backdrop separated from the shirt by an intact outline, try a border-connected key. Check the matte at the shirt and the backdrop before exporting.

A method passes if frame 12 retains all 400 pixels in the shirt patch at (150, 140) and none of the 400 pixels in the backdrop patch at (20, 20), with each patch extending 20 pixels right and down from its top-left coordinate.

Test dateTool and versionSame source or frameSetting changedResult
2026-11-10Node 24.22.1green-clothing-source.mp4, frame 12Global RGB key, ±18 per channelFail. Frame 12 retained 0/400 shirt pixels and 0/400 backdrop pixels.
2026-11-10Node 24.22.1green-clothing-source.mp4, frame 12Border-connected key, ±18, four neighborsPass. Frame 12 retained 400/400 shirt pixels and 0/400 backdrop pixels.
2026-11-10Node 24.22.1green-clothing-source.mp4, frame 12Global RGB key, ±18, with shirt holdoutPass. Frame 12 retained 400/400 shirt pixels and 0/400 backdrop pixels.

Source file: green-clothing-source.mp4 · Download the original clip

Open the resource page for the parameter sheet and reproduction script.

Where the test looks

Original schematic of the two measured squares. The downloadable clip is the test input.

The synthetic frame deliberately uses the same green for the shirt panel and the backdrop. Its dark outline separates the two regions. We sampled the decoded RGB value at (10, 10), then treated a pixel as matching green if its red, green and blue values were each within 18 levels of that sample. The global key removed every matching pixel, including the shirt patch. The border-connected version removed matching pixels only when a chain of edge-adjacent matching pixels reached the image border. The holdout forced the shirt rectangle to stay opaque after the global key.

Which option should you use on footage?

Use a holdout when you can track an interior part of the garment through the shot. Keep the mask inside the subject so it does not restore the green backdrop next to the silhouette. Play through the points where a sleeve crosses the body or a hand covers the shirt, then adjust the mask at those frames. A border-connected key can leave green behind in a gap enclosed by the subject, and it can reach the clothing if compression, motion blur, or a missing outline creates a connecting path. This test used a static synthetic clip and two interior squares. It did not measure moving edges, spill or AI subject recognition.

In Blender, the Keying node's Core Matte input provides the equivalent holdout operation. See the Blender Keying node documentation. The comparison above used the downloadable Node script.