Nodes/MdColorMod/Color Components Channel Mixer (MD)
ComfyUI Node

Color Components Channel Mixer (MD)

Mixes RGB channels by specifying how much of each source channel goes into each output channel, with optional luminosity preservation.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
Color Components Channel Mixer (MD)
  • image
  • mask
  • image
Red_in_red1.00
Green_in_red0.00
Blue_in_red0.00
Red_in_green0.00
Green_in_green1.00
Blue_in_green0.00
Red_in_blue0.00
Green_in_blue0.00
Blue_in_blue1.00
Preserve_luminosityfalse
Categorymd/image/color

Inputs (12)

NameTypeDefaultDescription
imageIMAGEInput image tensor.
Red_in_redFLOAT1.00-2–2Contribution of red channel to output red.
Green_in_redFLOAT0.00-2–2Contribution of green channel to output red.
Blue_in_redFLOAT0.00-2–2Contribution of blue channel to output red.
Red_in_greenFLOAT0.00-2–2Contribution of red channel to output green.
Green_in_greenFLOAT1.00-2–2Contribution of green channel to output green.
Blue_in_greenFLOAT0.00-2–2Contribution of blue channel to output green.
Red_in_blueFLOAT0.00-2–2Contribution of red channel to output blue.
Green_in_blueFLOAT0.00-2–2Contribution of green channel to output blue.
Blue_in_blueFLOAT1.00-2–2Contribution of blue channel to output blue.
Preserve_luminosityBOOLEANfalsePreserve the overall luminance after mixing.
maskoptMASKOptional mask to restrict the adjustment area.

Outputs (1)

NameTypeDescription
imageIMAGEThe channel-mixed image.