Nodes/ComfyUI_Element_easy/Element HueBright
ComfyUI Node

Element HueBright

Brighten or darken specific colors, not the whole image

By supElement·Created 9 months ago·Updated about 11 hours ago· 10
Element HueBright
  • image
  • image
curve_data{}
preview_size512
frame_index0
output_modefalse

Element HueBright is a "hue vs brightness" curve: horizontal axis is hue, vertical axis is how bright pixels of that hue come out. Drag the curve down at the blues and every blue in the image goes darker - not the shadows, not the whole frame, just the things that are blue. If you've ever wanted to lift a muddy green without touching a skin-tone orange, this is the node.

It's the sibling of the pack's HueSat and HueHue nodes, and it answers the complaint that hue-aware edits usually mean doing the whole operation in your head. Here you get to see the curve against a live preview while you grade.

How it works

Same core as the other Element curve nodes: an interactive curve where you click to add a point, drag it to shape the curve, and right-click to remove. The curve maps each pixel's hue to a brightness multiplier - push points above the midline to brighten that color range, pull them below to darken it. The preview is real-time and handles both single images and frame sequences, so you can grade a clip's look before committing to a full render.

The curve_data field is a JSON string holding the curve points. You don't hand-write it - the editor does - but it means a grade is portable: copy the string to another HueBright instance and you've duplicated the exact curve. preview_size (256–4096) sets the preview resolution, frame_index selects which frame of a sequence you're inspecting, and output_mode switches between the preview and the final full-quality result. Output is a single image, straight back into your pipeline.

One nice detail from the changelog: a recent version specifically improved how the node handles low-saturation colors and widened the brightness adjustment range. In practice that means the curve bites more predictably on desaturated pixels - the thing that trips up naive hue-lookup implementations, where near-gray pixels with a tiny bit of hue either snap dramatically or do nothing at all. The fix makes the node more forgiving on real-world footage, which is where this kind of tool usually dies.

Installing it

It's in supElement/ComfyUI_Element_easy:

cd ComfyUI/custom_nodes
git clone https://github.com/supElement/ComfyUI_Element_easy.git

Restart ComfyUI, or search ComfyUI_Element_easy in ComfyUI Manager.

Gotchas

The hue loop applies here too, same as HueSat: don't put points at both ends of the curve - the ends are a closed loop and one of the points will be dead weight. And a brightening curve is doing its best work when the target colors actually carry some saturation to begin with; on a desaturated image the low-saturation handling helps, but you'll often want to hit HueSat first to give the colors some life, then grade brightness on top.

CategoryElement_easy/image

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
curve_dataSTRING{}
preview_sizeINT512256–4096
frame_indexINT00–9999
output_modeBOOLEANfalse

Outputs (1)

NameTypeDescription
imageIMAGE