Nodes/ComfyUI_Mira/Adjust HUE
ComfyUI Node

Adjust HUE

Rotate the whole color wheel

By mirabarukaso·Created 2 years ago·Updated 5 days ago· 206
Adjust HUE
  • src_image
  • image
level0.000

Adjust HUE shifts every color in the image around the color wheel at once. Nudge it a little and a red shirt drifts toward orange, the sky warms or cools, skin goes off. Push it hard and you get those trippy color-swap looks where grass turns blue. It's a blunt, global rotation - not a targeted "change just the reds" tool - but for quick mood shifts and happy accidents it's handy.

It's one node in ComfyUI_Mira, mirabarukaso's personal collection of utility nodes, sitting in the image-adjustment family alongside Saturation, Contrast, Brightness, Sharpness, Gamma, Tone Curve, RGB Channel, and Grayscale. Like the rest of that family it daisy-chains - feed one node's image output into the next node's src_image and stack your adjustments.

How it works

level is a hue rotation expressed as a fraction of the full color wheel, and the range is deliberately narrow: -0.5 to 0.5. Zero means no change. The extremes (±0.5) rotate a full half-turn - roughly 180° - which is why they produce the most dramatic color inversions. Small values like ±0.02 give subtle warm/cool grades; the further from 0 you go, the more the whole palette rotates together.

Because it moves all hues by the same amount, it's great for a uniform vibe shift and bad for surgical color edits. There's no "protect skin tones" here - everything rotates.

The inputs and outputs that matter

  • src_image - the image to shift.
  • level - hue rotation, -0.5 to 0.5, default 0 (neutral). The fine step (0.001) means you can dial in tiny grades.
  • image (output) - the shifted image, into your next node.

Most useful moves are small: a hair of level warms or cools the entire frame in one shot, which is a fast way to unify a composite or match a reference's mood.

Installing it

ComfyUI Manager: search ComfyUI_Mira, install, restart. Or clone:

cd ComfyUI/custom_nodes && git clone https://github.com/mirabarukaso/ComfyUI_Mira.git

then restart. If it errors on load, run pip install -r requirements.txt inside the ComfyUI_Mira folder. Find it under Mira/Util/Image.

Common issues

  • It's global, not selective. If you only want to fix one color, HUE is the wrong tool - it'll drag everything else with it. Use it for whole-image mood, then correct casts with RGB Channel.
  • Skin tones are the canary. Even a small hue shift makes faces look sickly fast. Watch skin before committing to a value; it'll tell you when you've gone too far.
  • ±0.5 is a party trick. The dramatic color-swap looks are fun but rarely what you actually want in a finished image. The useful range is close to 0.
  • Order matters. Rotating hue before vs. after saturation changes the outcome; if a stack looks wrong, reorder the small nodes rather than over-tuning one slider.
CategoryMira/Util/Image

Inputs (2)

NameTypeDefaultDescription
src_imageIMAGE
levelFLOAT0.000-0.5–0.5

Outputs (1)

NameTypeDescription
imageIMAGE