ComfyUI Node
Color Balance (MD)
Adjusts the color balance for shadows, midtones, or highlights using cyan-red, magenta-green, and yellow-blue sliders.
Color Balance (MD)
- image
- mask
- image
◄range▾►
◄Cyan-Red0.0►
◄Magenta-Green0.0►
◄Yellow-Blue0.0►
◄Preserve luminositytrue►
◄jdata[[0,0,0],[0,0,0],[0,0,0]]►
Categorymd/image/color
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| range | COMBO | Tonal range to adjust: Shadow, Midtones, or Highlights. | |
| Cyan-Red | FLOAT | 0.0-100–100 | Shift towards Cyan (negative) or Red (positive). |
| Magenta-Green | FLOAT | 0.0-100–100 | Shift towards Magenta (negative) or Green (positive). |
| Yellow-Blue | FLOAT | 0.0-100–100 | Shift towards Yellow (negative) or Blue (positive). |
| Preserve luminosity | BOOLEAN | true | Preserve image luminosity when applying the balance. |
| jdata | STRING | [[0,0,0],[0,0,0],[0,0,0]] | JSON string representing adjustment values for all three ranges (advanced). |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The color-balanced image. |