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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor. | |
| Red_in_red | FLOAT | 1.00-2–2 | Contribution of red channel to output red. |
| Green_in_red | FLOAT | 0.00-2–2 | Contribution of green channel to output red. |
| Blue_in_red | FLOAT | 0.00-2–2 | Contribution of blue channel to output red. |
| Red_in_green | FLOAT | 0.00-2–2 | Contribution of red channel to output green. |
| Green_in_green | FLOAT | 1.00-2–2 | Contribution of green channel to output green. |
| Blue_in_green | FLOAT | 0.00-2–2 | Contribution of blue channel to output green. |
| Red_in_blue | FLOAT | 0.00-2–2 | Contribution of red channel to output blue. |
| Green_in_blue | FLOAT | 0.00-2–2 | Contribution of green channel to output blue. |
| Blue_in_blue | FLOAT | 1.00-2–2 | Contribution of blue channel to output blue. |
| Preserve_luminosity | BOOLEAN | false | Preserve the overall luminance after mixing. |
| maskopt | MASK | Optional mask to restrict the adjustment area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The channel-mixed image. |