Nodes/MdColorMod/Color Map Color Exchange (MD)
ComfyUI Node

Color Map Color Exchange (MD)

Replaces colors close to a source color with a target color, using per-channel threshold tolerances.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
Color Map Color Exchange (MD)
  • image
  • mask
  • image
from_color8033735
to_color16711680
Red_Threshold0.106
Green_Threshold0.100
Blue_Threshold0.190
Categorymd/image/color

Inputs (7)

NameTypeDefaultDescription
imageIMAGEInput image tensor.
from_colorINT80337350–16777215Source color (RGB hex integer).
to_colorINT167116800–16777215Target replacement color (RGB hex integer).
Red_ThresholdFLOAT0.1060–1Tolerance for the red channel (0-1).
Green_ThresholdFLOAT0.1000–1Tolerance for the green channel (0-1).
Blue_ThresholdFLOAT0.1900–1Tolerance for the blue channel (0-1).
maskoptMASKOptional mask to restrict the adjustment area.

Outputs (1)

NameTypeDescription
imageIMAGEThe color-exchanged image.