Nodes/MdColorMod/Color Balance (MD)
ComfyUI Node

Color Balance (MD)

Adjusts the color balance for shadows, midtones, or highlights using cyan-red, magenta-green, and yellow-blue sliders.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
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)

NameTypeDefaultDescription
imageIMAGEInput image tensor.
rangeCOMBOTonal range to adjust: Shadow, Midtones, or Highlights.
Cyan-RedFLOAT0.0-100–100Shift towards Cyan (negative) or Red (positive).
Magenta-GreenFLOAT0.0-100–100Shift towards Magenta (negative) or Green (positive).
Yellow-BlueFLOAT0.0-100–100Shift towards Yellow (negative) or Blue (positive).
Preserve luminosityBOOLEANtruePreserve image luminosity when applying the balance.
jdataSTRING[[0,0,0],[0,0,0],[0,0,0]]JSON string representing adjustment values for all three ranges (advanced).
maskoptMASKOptional mask to restrict the adjustment area.

Outputs (1)

NameTypeDescription
imageIMAGEThe color-balanced image.