Nodes/ComfyUI_yanc/๐Ÿ˜ผ> HUE
ComfyUI Node

๐Ÿ˜ผ> HUE

Rotate the whole image's color wheel with one fine-grained slider

By ALatentPlaceยทCreated 2 years agoยทUpdated 2 years agoยท 80
๐Ÿ˜ผ> HUE
  • image
  • image
โ—„hue_adjustment0.000โ–บ

A dead-simple hue shift: rotate every pixel's hue around the color wheel by a fixed amount. No mask, no per-channel controls, just one slider that turns the whole image warmer, cooler, or somewhere weirder if you push it hard enough.

How it works

hue_adjustment runs from -0.5 to 0.5, which maps to a fraction of the full 360ยฐ color wheel - so the extremes are both a 180ยฐ rotation, just in opposite directions, which means -0.5 and 0.5 land on the same result. Small values are where this node earns its keep: nudge a skin tone that's reading a touch too orange, cool down a background that's fighting your subject, or correct a checkpoint's habitual color bias without touching saturation or brightness at all.

Because it applies to the entire frame uniformly and has no mask input, it's not the right tool for "just fix the sky" - for that you'd want to run it on the full image and composite the result back over the original with a mask, using ComfyUI's own ImageCompositeMasked.

The inputs and outputs that matter

  • image (IMAGE) - required.
  • hue_adjustment (FLOAT, -0.5 to 0.5, step 0.001, default 0) - the rotation amount. That step size is genuinely fine - small drags move the result a lot, so this is a slider you'll want to nudge with the keyboard or type a value into rather than drag freehand.
  • image out.

How to install it

Via ComfyUI Manager: search "yanc" or "ComfyUI_yanc" and install, then restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/ALatentPlace/ComfyUI_yanc

then restart ComfyUI. No extra dependencies or model downloads - a pixel filter, same as the rest of the post-processing suite.

Common issues & troubleshooting

Nothing happened. hue_adjustment defaults to 0, a genuine no-op, same pattern as this pack's other adjustment nodes. Move the slider.

Dragging the slider overshoots wildly. The step is 0.001 against a -0.5 to 0.5 range, so a small mouse drag covers a lot of ground. Type a value directly if you want precision - something like 0.02โ€“0.05 for a subtle correction, saving the bigger swings for deliberate color-wheel-flip effects.

You want to fix color in just one region. This node has no mask input - unlike Blur, Brightness, Contrast, Saturation and Sharpen in the same pack, all of which take mask_opt. Run HUE globally and composite selectively afterward if you need it localized.

-0.5 and 0.5 look identical. That's expected - both are a full 180ยฐ rotation, just described from opposite directions. If you're trying to sweep through the whole range looking for a specific color, treat it as a loop rather than a line.

CategoryYANC/๐Ÿ˜ผ Image/๐Ÿ˜ผ Post Processing

Inputs (2)

NameTypeDefaultDescription
imageIMAGEโ€”
hue_adjustmentFLOAT0.000-0.5โ€“0.5โ€”

Outputs (1)

NameTypeDescription
imageIMAGEโ€”