ComfyUI Node
Color Hue-Saturation (MD)
Adjusts master and per‑colour hue, lightness, and saturation of an image. The adjustment is driven by a 7×3 matrix (`jdata`) that provides master and six per‑hue shifts (Red, Yellow, Green, Cyan, Blue, Magenta). An `Overlap` parameter controls how much neighbouring hues are affected (0 = hard edges, 100 = broad blending). A luminance‑based `mask` can optionally limit the effect to certain areas. Works on both RGB and RGBA images; when alpha is present it is left untouched.
Color Hue-Saturation (MD)
- image
- mask
- image
◄colorMaster►
◄Overlap0.0►
◄Hue0.0►
◄Lightness0.0►
◄Saturation0.0►
◄jdata[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]►
Categorymd/image/color
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor (RGB or RGBA). | |
| color | COMBO | Master | Select a specific hue band for the slider controls (overridden by jdata if valid). |
| Overlap | FLOAT | 0.00–100 | Overlap spread percentage (0-100) for blending neighbouring hues. |
| Hue | FLOAT | 0.0-180–180 | Hue shift for the selected hue band (ignored if jdata is used). |
| Lightness | FLOAT | 0.0-100–100 | Lightness shift for the selected hue band (ignored if jdata is used). |
| Saturation | FLOAT | 0.0-100–100 | Saturation shift for the selected hue band (ignored if jdata is used). |
| jdata | STRING | [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]] | JSON string representing a 7×3 matrix of [Hue, Lightness, Saturation] adjustments for Master and six hues. |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The hue/saturation adjusted image. |