Skip to content

Luma Key

Node icon
Keyer

Removes pixels based on brightness. Pick a key color with the eyedropper and dial in tolerance and softness.

Luma Key creates transparency based on how close a pixel’s brightness is to a key color. Use the eyedropper to pick a color from the canvas, and the target luminance is derived automatically. Tolerance controls how wide the brightness range around the key is included, and Softness feathers the transition at the boundary edges. Invert flips the matte so the keyed range is kept instead of removed.

The default key color is white, which handles the common “remove white background” case out of the box.

Pins

ImageImage
InputRequired
ImageImage
Output
MatteMask
Output

Key Color

KeyColor (RGBA)
Default: rgba(255, 255, 255, 255)

Key color

Matte

ToleranceNumber
Default: 0.10 Range: 0.00–1.00

How far from the key luminance to include

SoftnessNumber
Default: 0.00 Range: 0.00–1.00

Edge feathering at the tolerance boundary

InvertToggle
Default: false

Invert the matte: keep the keyed luminance range, remove everything else

  • Use the eyedropper to pick the background color directly from the canvas for the most accurate key.
  • Start with low Tolerance and increase until the background is fully removed.
  • Add Softness to feather the edges for natural-looking transitions.
  • Enable Invert to keep only the keyed brightness range instead of removing it.