ComfyUI > Nodes > ComfyUI-Image-Effects > 🎨 Color Balance

ComfyUI Node: 🎨 Color Balance

Class Name

ColorBalanceNode

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

🎨 Color Balance Description

Adjust image color balance with precision across tonal ranges for enhanced visual appeal and artistic effects.

🎨 Color Balance:

The ColorBalanceNode is a powerful tool designed to adjust the color balance of an image, allowing you to fine-tune the hues in different tonal ranges such as shadows, midtones, and highlights. This node is particularly beneficial for enhancing the visual appeal of images by correcting color casts or achieving a specific artistic effect. By manipulating the balance between cyan-red, magenta-green, and yellow-blue, you can achieve a wide range of color adjustments. The node also offers the option to preserve luminosity, ensuring that the overall brightness of the image remains consistent even after color adjustments. This feature is crucial for maintaining the natural look of the image while applying significant color changes.

🎨 Color Balance Input Parameters:

image

The image parameter is the input image that you want to adjust. It serves as the base for all color balance operations performed by the node. This parameter is required and must be provided in a compatible image format.

adjust_type

The adjust_type parameter determines which tonal range of the image will be affected by the color balance adjustments. It offers three options: "shadows," "midtones," and "highlights," with "midtones" being the default. This allows you to target specific areas of the image for more precise color correction.

cyan_red

The cyan_red parameter controls the balance between cyan and red tones in the image. It accepts a float value ranging from -100.0 to 100.0, with a default of 0.0. Positive values increase red tones, while negative values enhance cyan tones. This parameter is crucial for correcting color casts or achieving a desired color effect.

magenta_green

The magenta_green parameter adjusts the balance between magenta and green tones. Like cyan_red, it accepts a float value from -100.0 to 100.0, with a default of 0.0. Positive values increase magenta tones, while negative values enhance green tones, allowing for fine-tuning of the image's color balance.

yellow_blue

The yellow_blue parameter manages the balance between yellow and blue tones in the image. It also accepts a float value ranging from -100.0 to 100.0, with a default of 0.0. Positive values increase yellow tones, while negative values enhance blue tones, providing additional control over the image's color dynamics.

preserve_luminosity

The preserve_luminosity parameter is a boolean option that, when enabled, maintains the original brightness of the image while applying color adjustments. This is particularly useful for ensuring that the image does not become unnaturally bright or dark after color corrections. The default value is True.

🎨 Color Balance Output Parameters:

IMAGE

The output of the ColorBalanceNode is an adjusted image with the specified color balance changes applied. This output retains the same format as the input image, allowing for seamless integration into further image processing workflows. The adjustments made can significantly enhance the visual quality and artistic expression of the image.

🎨 Color Balance Usage Tips:

  • To achieve subtle color corrections, start with small adjustments to the cyan_red, magenta_green, and yellow_blue parameters and gradually increase them as needed.
  • Use the adjust_type parameter to target specific tonal ranges for more precise color corrections, such as enhancing the warmth in shadows or cooling down highlights.
  • Enable preserve_luminosity to maintain the natural brightness of the image, especially when making significant color adjustments.

🎨 Color Balance Common Errors and Solutions:

Image format not supported

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

Invalid parameter value

  • Explanation: One or more input parameters have values outside their allowed range.
  • Solution: Check that all parameter values are within their specified ranges and adjust them accordingly.

Output image appears distorted

  • Explanation: Excessive color adjustments may lead to unnatural results.
  • Solution: Reduce the intensity of the color adjustments and enable preserve_luminosity to maintain a natural appearance.

🎨 Color Balance 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.