ComfyUI > Nodes > ComfyUI-Image-Effects > 🔀 Channel Mixer

ComfyUI Node: 🔀 Channel Mixer

Class Name

ChannelMixerNode

Category
Image Effects
Author
orion4d (Account age: 929days)
Extension
ComfyUI-Image-Effects
Latest Updated
2025-05-28
Github Stars
0.02K

How to Install ComfyUI-Image-Effects

Install this extension via the ComfyUI Manager by searching for ComfyUI-Image-Effects
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Image-Effects in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🔀 Channel Mixer Description

Versatile tool for color channel manipulation in images, enabling creative color adjustments with precise control over tonal balance.

🔀 Channel Mixer:

The ChannelMixerNode is a versatile tool designed to manipulate the color channels of an image, allowing you to creatively adjust the balance and intensity of colors. This node is particularly useful for artists and designers who want to achieve specific color effects or corrections in their images. By mixing the red, green, and blue channels, you can create unique color compositions or convert images to monochrome with precise control over the tonal balance. Additionally, the node offers options to preserve the original luminosity of the image, ensuring that the overall brightness remains consistent even after color adjustments. This capability makes the ChannelMixerNode an essential component for fine-tuning image aesthetics and achieving desired visual outcomes.

🔀 Channel Mixer Input Parameters:

image

The image parameter is the input image that you want to process using the channel mixer. It serves as the base upon which all color adjustments will be applied. This parameter is required and should be provided in a compatible image format.

output_channel

The output_channel parameter specifies which color channel (Red, Green, or Blue) will be affected by the mixing process. By selecting a specific channel, you can target your adjustments to that channel alone, allowing for precise control over the color balance. The default value is "Red".

red_source

The red_source parameter determines the contribution of the red channel to the output channel. It is a float value that can range from -200.0 to 200.0, with a default of 100.0. Adjusting this value allows you to increase or decrease the influence of the red channel in the final image.

green_source

The green_source parameter controls the contribution of the green channel to the output channel. Like the red_source, it is a float value ranging from -200.0 to 200.0, with a default of 0.0. Modifying this value lets you adjust the green channel's impact on the image.

blue_source

The blue_source parameter sets the contribution of the blue channel to the output channel. It is a float value with a range from -200.0 to 200.0, and a default of 0.0. This parameter allows you to fine-tune the influence of the blue channel in the color mixing process.

constant

The constant parameter adds a constant value to the output channel, allowing for additional brightness or darkness adjustments. It is a float value that ranges from -200.0 to 200.0, with a default of 0.0. This parameter provides an extra layer of control over the final image's tonal balance.

monochrome

The monochrome parameter is a boolean option that, when set to true, applies the channel mixing to all channels equally, effectively converting the image to monochrome. The default value is false, meaning the node operates in color mode by default.

preserve_luminosity

The preserve_luminosity parameter is a boolean option that, when enabled, maintains the original luminosity of the image after the color adjustments. This ensures that the overall brightness of the image remains unchanged, even as the color balance is altered. The default value is false.

🔀 Channel Mixer Output Parameters:

IMAGE

The output of the ChannelMixerNode is an IMAGE that reflects the adjustments made to the color channels based on the input parameters. This processed image can be used for further editing or as a final product, showcasing the creative color manipulations applied through the node.

🔀 Channel Mixer Usage Tips:

  • Experiment with different red_source, green_source, and blue_source values to achieve unique color effects or correct color imbalances in your images.
  • Use the monochrome option to create striking black-and-white images with custom tonal balances, enhancing the artistic appeal of your work.
  • Enable preserve_luminosity to ensure that your image retains its original brightness, which is particularly useful when making subtle color adjustments.

🔀 Channel Mixer Common Errors and Solutions:

Image format not supported

  • Explanation: The input image is not in a compatible format for processing.
  • Solution: Ensure that the image is in a supported format, such as a standard RGB image, before using the node.

Invalid parameter value

  • Explanation: One or more input parameters have values outside their allowed range.
  • Solution: Check the parameter values and ensure they fall within the specified ranges. Adjust any values that exceed the limits.

Output channel not specified

  • Explanation: The output_channel parameter is not set, leading to undefined behavior.
  • Solution: Specify a valid output channel (Red, Green, or Blue) to ensure the node functions correctly.

🔀 Channel Mixer Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Image-Effects
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.