Chroma key makes a selected range of color transparent so another image can appear behind it. Green and blue screens are common, but color selection alone cannot make a convincing composite. Adobe's Ultra Key instructions describe choosing the key color, cleaning the matte, and suppressing color reflected on the subject. The hardest decisions often happen before editing: screen lighting, distance, wardrobe, and recording quality.
Shoot for a Usable Matte
Light the screen evenly, avoiding hot spots and hard shadows. Keep the subject away from it when space permits to reduce green reflected onto skin and shoulders. Avoid clothes close to the screen color unless their disappearance is intentional. Leave room around hair and moving hands. Heavy video compression can smear fine edges; a key effect cannot reliably rebuild detail that was never recorded.
From Selection to Composite
Put the replacement background below the subject, then sample a representative green rather than a shadowed or overexposed patch. Inspect the matte in black and white. The subject should be solid, the screen should be removed, and fine edges such as hair may have partial transparency. Clean noise gradually; aggressive edge trimming removes hair and fingertips along with unwanted color. Suppress green spill without turning skin an artificial purple.
The background and subject must agree on scale, perspective, contrast, and light direction. If the subject is lit from the left while the new room's apparent sun is on the right, keying alone will not solve the discrepancy. Add shadows only where the scene gives them a reason to exist. Watch the moving shot from beginning to end; a single good still frame can hide broken edges during fast motion.
Common Keying Mistakes
A common response to an uneven screen is to widen the key until all visible green disappears. Parts of the subject may disappear with it. Mask irrelevant screen areas or correct a local problem before expanding the sampled range. Motion blur is especially difficult: a fast hand naturally blends hand color with background color, so it cannot be separated like a static edge. When reshooting is possible, better lighting and greater distance can save more time than a chain of digital repairs. Check the result over both light and dark replacement backgrounds; an edge flaw hidden against one may be obvious against the other.
Exercise: Record ten seconds of a moving subject on a green screen. Make one version using only a basic key and another that also balances lighting, spill, and edges. Compare them at full size and on a phone.
Reference: Adobe: Apply and customize Ultra Key.