Color Range
Creates a mask by selecting pixels similar to a picked color, with adjustable hue, saturation, and lightness weighting.
Color Range selects pixels based on their proximity to a chosen color in HLS (Hue, Lightness, Saturation) color space. Use the eyedropper to pick a color from the input, and the node generates a grayscale mask where white represents selected pixels and black represents unselected.
Tolerance controls how far from the center color the selection extends. Softness adds a gradual falloff at the selection boundary. The three weight sliders (Hue, Saturation, Lightness) control how much each color component contributes to the distance calculation. Crank Hue Weight to select by color regardless of brightness, or boost Lightness Weight to select by brightness regardless of hue.
Parameters
Section titled “Parameters”Pins
Color Range
Target color
HSL distance within which pixels are selected
Edge softness at the tolerance boundary
Weights
Weight of hue distance in selection metric
Weight of saturation distance in selection metric
Weight of lightness distance in selection metric
Refine
Gaussian feather on the resulting mask
Invert the resulting mask
Usage Tips
Section titled “Usage Tips”- Use the eyedropper to pick the center color directly from the preview image.
- Increase Tolerance for a broader selection; decrease for a tighter, more precise pick.
- Set Hue Weight high and Lightness Weight low to select all shades of a color regardless of brightness.
- Add Feather to soften the mask edges for smoother compositing results.