Skip to content

Color Remap

Node icon
Color

Shifts a single color to a target color while preserving luminance, acting as a surgical hue replacement.

Color Remap finds pixels near a source color and shifts them toward a destination color. The hue tolerance controls how wide the affected range is, and the feather softens the transition at the edges of that range.

Unlike Palette Remap (which generates multiple variants), Color Remap produces a single output with one color changed. It preserves luminance by default, so shading and highlights stay intact.

Pins

ImageImage
InputRequired
MaskMask
InputOptional
ImageImage
Output

Color

SourceColor (RGB)
Default: rgb(200, 50, 50)

Color to match

DestColor (RGB)
Default: rgb(50, 100, 200)

Replacement color

Matching

Hue ToleranceNumber
Default: 30 Range: 1–90

Hue distance (degrees) around the source color to include

Min SaturationNumber
Default: 20 Range: 0–50

Minimum saturation for a pixel to be considered

FeatherNumber
Default: 0.20 Range: 0.00–1.00

Soft falloff at the tolerance boundary

Preserve LuminanceToggle
Default: true

Restore original luminance after the hue swap

Mask

Mask FitChoice
Default: None (native size)
Mask connected

How the mask is sized when it doesn't match the image. None: center at native size, no scaling. Stretch: scale to exactly match image dimensions. Fit: scale to fit inside image, preserving aspect ratio. Fill: scale to fill image, cropping overflow

  • None (native size)Center the mask at its native size — no resizing. Unmasked regions are unaffected.
  • StretchStretch the mask to exactly match the image dimensions. May distort the mask shape.
  • Fit (letterbox)Scale the mask to fit inside the image, preserving aspect ratio. Letterboxes where needed.
  • Fill (crop)Scale the mask to fill the image, preserving aspect ratio. Crops edges if aspect ratios differ.
  • Use the eyedropper to pick the exact source color from the image.
  • Raise Min Saturation to avoid remapping gray/neutral pixels that happen to be near the source hue.
  • Increase feather for a smoother transition between remapped and unaffected areas.
  • Connect a mask input to limit the color replacement to specific regions of the image.