The short answer: Photoshop gives you two genuinely different ways to pull a key, and they fail in opposite directions. A Color Range selection is fast and global — it grabs every pixel in the frame that resembles the green you sampled, wherever that pixel happens to sit, and it has no idea that the thing you want to keep is a person. A matte built in the channels panel is slower and local — you start from the green channel, which already looks like a rough matte, then paint out its mistakes by hand. Use Color Range for an evenly lit screen and a single still. Build the matte in a channel when the screen is uneven, the subject has fine hair, or something in frame is close to green.

There is also a trap that catches people after the key looks perfect on screen: an alpha channel is not the same thing as transparency. Alpha channels are preserved only when a file is saved in the native Photoshop format, PDF, TIFF, PSB or raw. Save a PNG or a JPG and the channel does not travel with it. If the deliverable is a flat PNG with a see-through background, the matte has to reach that file as a layer mask, not as a stored channel. Get that wrong and you will spend an hour building a beautiful matte, export, and find a solid green rectangle.

Below: how to choose between the two routes, why the green channel works as a matte at all, the exact places each route breaks, and how to get the matte out of the document intact.

How do I get the best green screen removal results?

Not by finding better settings. By matching the method to the footage before you touch a single slider. Almost every disappointing result comes from using a global tool on a problem that is not global.

Your situation Route Why
Evenly lit screen, one still image, done in five minutes Color Range If every screen pixel is nearly the same green, one global match is enough
Uneven screen, fine hair, semi-transparent edges Channel matte You can repair individual regions; a single global range cannot be right in two places at once
Subject wears or holds something green Channel matte + painted hold-out No colour rule can tell a green prop from a green screen; only a hand-painted region can
Handing a layered file to someone else Channel matte The mask is part of the document, so it survives the handover and stays editable
One frame, no channel bookkeeping wanted A browser keyer No channel to manage, no export-format decision to get wrong

Why the green channel already looks like a matte

This is the part that makes the channel route worth learning, and it is pure physics rather than a trick. A channel in an RGB document is a grayscale image of how much of one primary the scene contained. A green screen is, by definition, a surface that reflects a lot of green and very little red or blue. So in the green channel the screen is bright — often nearly white — while a subject lit normally is a mix of all three colours and therefore much darker there.

That means the green channel is already a rough matte of your shot, upside down. Bright where you want to cut, dark where you want to keep. Invert it and you have a matte with the polarity you need: subject white, screen black. The rest of the work is not "keying" in any algorithmic sense — it is cleaning up a grayscale image until white and black are the only two values that matter and the boundary between them sits exactly on the subject's edge.

Once you see it that way, the whole method becomes obvious, and so do its failure cases. Everywhere the subject is also bright in green — a white shirt, pale skin under a soft light, a glossy forehead, a window in shot — the inverted channel goes dark, and the matte punches a hole in the subject. You are not fighting a bad keyer at that point. You are fighting the fact that two different objects have the same value in one channel.

Route A — Color Range, and where it quietly fails

The fast route. Open the selection menu, choose the colour range command, and click the screen with the eyedropper. You can add to the sample with Shift-click and take away from it with Alt-click, which is how you cover a screen that is slightly patchy without committing to one average colour. The Fuzziness control sets how far from the sampled colour a pixel is still allowed to count, and the localised cluster option with its range control limits the match to areas near your samples instead of the whole frame — useful when the same green appears somewhere it should not.

It works well, and it is the right first attempt on a clean screen. The failure mode is structural rather than a matter of taste: the tool answers one question — "is this pixel close to that colour?" — and answers it the same way everywhere in the frame. It has no model of where the subject is. So three things happen on harder footage:

The usual next move — raising fuzziness until the corners clear — is the same mistake described in every other keying context: you are widening a radius to reach a problem that a radius cannot describe. For a screen that is uneven because of how it was lit, the fix belongs upstream; our green screen lighting guide covers the setup side, and the zone-splitting workflow covers the same problem inside a video editor.

Route B — build the matte in a channel you can paint

This is the route that produces the results people assume require a dedicated keyer. The idea is to get the green channel into an alpha channel, invert it, crush it to black and white with levels, and then fix the leftovers with a brush — because a brush can be local and a slider cannot.

  1. Inspect the green channel alone. Open the channels panel and click only the green channel so you see it in grayscale. You are checking one thing: is the screen clearly brighter than the subject? If the screen and the subject's main mass are the same brightness there, stop — this route will not work on this shot and you should go back to Color Range or reshoot.
  2. Duplicate it into a new alpha channel. Select the whole green channel, copy it, create a new channel in the panel and paste. A new channel created in masked-areas mode starts black, with white marking what is kept — which is exactly the polarity you want after the next step. Copying the channel this way is more predictable than any drag gesture, and it leaves the original colour channels untouched.
  3. Invert. Now the screen is black and the subject is a light gray. You have a matte; it is just a very soft one.
  4. Crush it with levels. Drag the black input point up until the screen goes fully black, and the white input point down until the subject's core is fully white. Watch the boundary while you do it. This step is where the matte is actually made — the two sliders are choosing which gray values count as "screen" and which count as "subject".
  5. Set the edge with the midtone slider. The boundary between black and white is not a line, it is a ramp, and the point where that ramp crosses mid-gray is where the visible edge will land. Moving the midtone slider shifts that crossing point, which pulls the matte in or pushes it out along the whole silhouette at once. This is the control people are looking for when they say they want to "shrink the matte by a pixel", and it is far more precise than nudging fuzziness.
  6. Paint the failures out. Take a black brush and paint over anything that came through white but should not have — a white shirt, a bright wall behind the screen, a reflection. Take a white brush and paint back any part of the subject the matte ate, typically dark hair edges and dark clothing against the screen. Soft-edged brush, low opacity, and work at 100% zoom.
  7. Load it as a selection and mask the layer. Load the channel as a selection, go back to the layers panel with the subject layer active, and add a layer mask. The selection is now a mask, and the mask is what will produce real transparency on export.

Two practical notes. First, this is destructive in the sense that the matte is hand-made, so keep the un-edited copy of the channel until the composite is signed off — re-doing the levels pass from scratch takes minutes, re-doing the brush work takes an afternoon. Second, channels are full-resolution grayscale images; a detailed one adds real weight to the file, and a document can hold up to 56 channels in total, so delete the intermediate copies you are no longer using before you archive.

The export trap: an alpha channel is not transparency

This is the failure that wastes the most time, and it has nothing to do with keying skill. In Photoshop an alpha channel is a stored selection — a grayscale image sitting alongside the colour channels. Transparency in a PNG is different: it is per-pixel data written into the file itself. They can hold identical information, but they are not the same container, and only one of them travels.

Concretely: alpha channels are preserved only in the native format, PDF, TIFF, PSB and raw files. Saving in other formats may discard the channel information entirely. So a matte that exists only as a channel and is exported as a PNG or JPG arrives with no matte at all. What saves you is the layer mask from the last step — the mask is what generates the transparency that PNG actually stores. The channel was scaffolding; the mask is the deliverable.

If your destination is video rather than a still, this whole question changes shape, because video containers handle transparency differently and most of them handle it badly. The export and transparency guide goes through which codecs keep an alpha channel and why an ordinary MP4 comes back flat.

Why is there still a green edge around my subject?

Because in a real shot the edge pixels are not subject and they are not screen — they are a mixture, and the mixture is green. Your matte decides how opaque each of those pixels is; it does not decide what colour they are. A perfectly placed matte will still leave a rim of genuinely green pixels at partial opacity, and that is what you are seeing.

Two separate fixes, and the order matters. First move the matte's midtone crossing point inward by a pixel or two, so the semi-transparent band sits on the subject's side of the contamination rather than outside it. That removes the worst of the rim without any colour work. Then, if a tint remains, treat it as a colour problem in the colour domain: shift the green hue range toward neutral while leaving skin tones alone, and confine the adjustment to the subject with the mask you already have. A global desaturation will kill the tint and the subject's colour with it.

Worth being blunt about the cause, though: a rim that survives both passes usually means the subject was too close to the screen and green light bounced onto them. That is a lighting problem wearing a post-production costume, and no amount of channel work fully fixes it.

When Photoshop is the wrong tool for the job

The channel route is genuinely good, and it is overkill for a single frame. If you need one cut-out — a product shot, a thumbnail, a profile picture, a slide graphic — then creating a channel, inverting it, crushing levels, painting fixes and remembering which export format keeps what is a lot of machinery for one image. It also means opening a full application to do something a browser tab can do in fifteen seconds.

For those cases our own green screen remover runs entirely in the browser: the image is processed on your device and never uploaded, which matters when the picture is client work or shows someone who did not agree to have their face on a stranger's server. You do not have to take that on trust — open your browser's developer tools, switch to the network panel, and watch that no request carries your file while you process it. If your backdrop is a solid colour other than green, the chroma key background remover handles any key colour and gives you a matte view so you can inspect edges before exporting.

Stay in Photoshop when the deliverable is layered, when someone else will need to adjust the matte later, or when the shot needs local repairs that a single global setting cannot express. That is precisely the case the channel route was built for.

Quick answers

How do I remove a green screen from an image?

Sample the screen with a colour-range selection and turn it into a mask, or invert the green channel into an alpha channel, crush it with levels and paint the mistakes out. The second route takes longer but is repairable region by region; the first is fine when the screen is even. Either way the matte has to end up as a layer mask before you export, because the stored channel will not survive a PNG.

Can I key a blue screen, or another colour?

Yes, and the channel route adapts cleanly: for a blue screen, start from the blue channel instead of the green one, since that is where the backdrop is brightest. The reasoning is identical — you want the channel in which backdrop and subject differ most. Blue is the better choice when the subject is green or wearing green, and the worse choice when they are wearing blue or have blue eyes.

Does the exported video keep its transparency?

Only if the container and codec support an alpha channel and you chose them deliberately. A standard MP4 export does not, which is why a key that looked perfect in the timeline arrives as a flat rectangle with a green background. If the destination cannot take transparency, plan to composite the background inside the edit instead of exporting a cut-out.

Why did my matte disappear when I saved a PNG?

Because the matte was stored as an alpha channel, and channels are only preserved in the native format, PDF, TIFF, PSB and raw files. PNG stores transparency as per-pixel data, not as a channel, so nothing carries the channel across. Load the channel as a selection, apply it as a layer mask, and export again.

Are my files uploaded anywhere?

In a desktop application the file stays on your machine by definition, which is one honest reason to prefer it for sensitive material. For anything that runs in a browser, do not accept the claim — verify it. Open the network panel in developer tools, process the image, and check whether any request carries the file's bytes. If the tool is doing the work locally, you will see no such request.


Related reading: how to light a green screen, fixing unevenly lit footage, export and transparency, and blue screen versus green screen.