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

Color Components Mono Mixer (MD)

Converts an image to grayscale by mixing red, green, and blue channels with custom weights, with optional luminosity preservation.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
Color Components Mono Mixer (MD)
  • image
  • mask
  • image
preserve_luminosityfalse
red_multiplier0.33
green_multiplier0.33
blue_multiplier0.33
Categorymd/image/color

Inputs (6)

NameTypeDefaultDescription
imageIMAGEInput image tensor.
preserve_luminosityBOOLEANfalsePreserve the overall luminance after mixing.
red_multiplierFLOAT0.33-5–5Weight for the red channel.
green_multiplierFLOAT0.33-5–5Weight for the green channel.
blue_multiplierFLOAT0.33-5–5Weight for the blue channel.
maskoptMASKOptional mask to restrict the conversion area.

Outputs (1)

NameTypeDescription
imageIMAGEThe grayscale image.