Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile tool for color channel manipulation in images, enabling creative color adjustments with precise control over tonal balance.
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.
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.
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".
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.
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.
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.
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.
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.
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.
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.
red_source
, green_source
, and blue_source
values to achieve unique color effects or correct color imbalances in your images.monochrome
option to create striking black-and-white images with custom tonal balances, enhancing the artistic appeal of your work.preserve_luminosity
to ensure that your image retains its original brightness, which is particularly useful when making subtle color adjustments.output_channel
parameter is not set, leading to undefined behavior.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.