ComfyUI Node
Color Map Color Rotate (MD)
Rotates a range of source hues to a destination hue range, with options for handling grays and custom hue/saturation replacement.
Color Map Color Rotate (MD)
- image
- mask
- image
◄Source_from0.0►
◄Source_to90.0►
◄Source_clockwisefalse►
◄Destination_from0.0►
◄Destination_to90.0►
◄Destination_clockwisefalse►
◄Gray_threshold0.00►
◄ModeChange to this►
◄Hue0.000►
◄Saturation0.000►
Categorymd/image/color
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| Source_from | FLOAT | 0.00–360 | Start of the source hue range (degrees). |
| Source_to | FLOAT | 90.00–360 | End of the source hue range (degrees). |
| Source_clockwise | BOOLEAN | false | Interpret the source range clockwise. |
| Destination_from | FLOAT | 0.00–360 | Start of the destination hue range (degrees). |
| Destination_to | FLOAT | 90.00–360 | End of the destination hue range (degrees). |
| Destination_clockwise | BOOLEAN | false | Interpret the destination range clockwise. |
| Gray_threshold | FLOAT | 0.000–1 | Saturation threshold below which pixels are treated as gray. |
| Mode | COMBO | Change to this | How to handle gray pixels: replace with target hue/saturation or treat them as in range. |
| Hue | FLOAT | 0.0000–360 | Target hue for replaced colors. |
| Saturation | FLOAT | 0.0000–1 | Target saturation for replaced colors. |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The hue-rotated image. |