Nodes/Comfyui-ergouzi-Nodes/2🐕Hue migration
ComfyUI Node

2🐕Hue migration

Shift just the color cast, leave the rest alone

By 11dogzi·Created 2 years ago·Updated 2 years ago· 102
2🐕Hue migration
  • source_image
  • target_image
  • result_image

Third of ergouzi's color-migration siblings, and the one that scopes down to a single property again: hue. Not saturation, not brightness - just the color cast. If your target image runs a bit too warm and you have a reference that's the temperature you're actually after, this shifts the target's hue toward it and leaves everything else (how vivid it is, how bright it is) exactly where it was.

That distinction matters more than it sounds like. A lot of "fix the color" advice for AI-generated images boils down to nudging the overall color temperature - a subtle warm cast for daylight scenes, a cooler one for shade - without touching contrast or vibrance, because those two tend to already be in a reasonable place while the hue is what's drifted. A node that only moves hue is exactly the tool for that specific correction, where a full color-transfer node would also be dragging saturation and tone along for the ride whether you wanted that or not.

Inputs and output

Two required inputs, same shape as its color-migration siblings: source_image supplies the hue you're matching toward, target_image is what gets shifted. No strength control on this one - it's a direct migration of the single property, not a blended dial. Output is result_image.

Installing it

ComfyUI Manager: search "Comfyui-ergouzi-Nodes", install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/11dogzi/Comfyui-ergouzi-Nodes.git

then restart ComfyUI. No models involved - pure pixel-space color math, so it costs nothing to load or run. Worth knowing regardless of which node in the pack brought you here: this English repo isn't the one getting new features anymore. The author's active development has moved to a separate, Chinese-first sibling repo; this branch is stable but frozen.

Common issues & troubleshooting

Hue is the touchiest of the three properties this pack lets you migrate independently, because a small hue shift reads as obviously wrong faster than an equivalent saturation or brightness shift does - human perception is unusually sensitive to skin tones drifting even a little. If a portrait comes out looking sunburnt or sickly after this node, that's the signal the source and target hues were further apart than expected, not that the node malfunctioned; try a source image closer in overall color temperature to your target before assuming something's broken.

If you actually want brightness or saturation to move too, this is the wrong node - reach for the pack's "Regular color migration" (adjustable strength, moves the whole relationship) or "Do not retain brightness" (explicitly lets luminance shift) siblings instead, depending on how much of the target's original character you're willing to give up.

Category2🐕/🖼️Image/🎨Color processing

Inputs (2)

NameTypeDefaultDescription
source_imageIMAGE
target_imageIMAGE

Outputs (1)

NameTypeDescription
result_imageIMAGE