ComfyUI Node
Color Map Color Exchange (MD)
Replaces colors close to a source color with a target color, using per-channel threshold tolerances.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| from_color | INT | 80337350–16777215 | Source color (RGB hex integer). |
| to_color | INT | 167116800–16777215 | Target replacement color (RGB hex integer). |
| Red_Threshold | FLOAT | 0.1060–1 | Tolerance for the red channel (0-1). |
| Green_Threshold | FLOAT | 0.1000–1 | Tolerance for the green channel (0-1). |
| Blue_Threshold | FLOAT | 0.1900–1 | Tolerance for the blue channel (0-1). |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The color-exchanged image. |