ComfyUI  >  Nodes  >  AlekPet/ComfyUI_Custom_Nodes_AlekPet >  Colors Correct Node

ComfyUI Node: Colors Correct Node

Class Name

ColorsCorrectNode

Category
AlekPet Nodes/extras
Author
AlekPet (Account age: 2739 days)
Extension
AlekPet/ComfyUI_Custom_Nodes_AlekPet
Latest Updated
8/2/2024
Github Stars
0.7K

How to Install AlekPet/ComfyUI_Custom_Nodes_AlekPet

Install this extension via the ComfyUI Manager by searching for  AlekPet/ComfyUI_Custom_Nodes_AlekPet
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter AlekPet/ComfyUI_Custom_Nodes_AlekPet 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Colors Correct Node Description

Versatile image color adjustment tool with fine-tuning options and hexadecimal color tint application for precise enhancements.

Colors Correct Node:

The ColorsCorrectNode is a versatile tool designed to enhance and adjust the color properties of images. It allows you to fine-tune various aspects such as brightness, contrast, saturation, gamma, and hue, providing a comprehensive solution for color correction. Additionally, it offers the option to apply a specific color tint to the image using a hexadecimal color code. This node is particularly beneficial for AI artists looking to achieve precise color adjustments and enhancements in their artwork, ensuring that the final output meets their creative vision.

Colors Correct Node Input Parameters:

image

The image parameter is the primary input for the ColorsCorrectNode, representing the image that you want to adjust. This parameter is required and must be provided for the node to function.

brightness

The brightness parameter controls the overall lightness or darkness of the image. Increasing the brightness value makes the image lighter, while decreasing it makes the image darker. The value ranges from 0.0 to 100.0, with a default of 1.0.

contrast

The contrast parameter adjusts the difference between the light and dark areas of the image. Higher contrast values make the dark areas darker and the light areas lighter, enhancing the image's overall sharpness. The value ranges from 0.0 to 100.0, with a default of 1.0.

saturation

The saturation parameter modifies the intensity of the colors in the image. Increasing saturation makes the colors more vivid, while decreasing it makes the colors more muted. The value ranges from 0.0 to 100.0, with a default of 1.0.

gamma

The gamma parameter affects the midtones of the image, allowing for adjustments in brightness without altering the shadows and highlights significantly. The value ranges from 0.0 to 100.0, with a default of 1.0.

hue_degrees

The hue_degrees parameter shifts the colors of the image along the color spectrum. This parameter is measured in degrees, ranging from 0.0 to 360.0, with a default of 0.0. Adjusting the hue can change the overall color balance of the image.

use_color

The use_color parameter is a boolean that determines whether a color tint should be applied to the image. If set to True, the image will be tinted with the specified hex_color. The default value is True.

hex_color

The hex_color parameter specifies the color to be used for tinting the image. This parameter is optional and is only used if use_color is set to True. The default value is "#00FF33".

Colors Correct Node Output Parameters:

image

The output image parameter is the adjusted image after all the specified color corrections have been applied. This output is essential for further processing or final rendering in your AI art projects.

Colors Correct Node Usage Tips:

  • Experiment with small adjustments to brightness, contrast, and saturation to achieve subtle enhancements without over-processing the image.
  • Use the hue_degrees parameter to create unique color effects by shifting the overall color balance of the image.
  • When applying a color tint, choose a hex_color that complements the existing colors in the image for a harmonious look.
  • Adjust the gamma parameter to fine-tune the midtones, especially in images with complex lighting conditions.

Colors Correct Node Common Errors and Solutions:

hue value is not in [-0.5, 0.5].

  • Explanation: This error occurs when the hue value provided is outside the acceptable range of -0.5 to 0.5. - Solution: Ensure that the hue value is within the specified range. Adjust the hue_degrees parameter accordingly to avoid this error.

Invalid hex color code

  • Explanation: This error occurs when the provided hex_color is not a valid hexadecimal color code.
  • Solution: Verify that the hex_color parameter is a valid hex code, starting with a '#' followed by six hexadecimal digits (e.g., "#00FF33").

Colors Correct Node Related Nodes

Go back to the extension to check out more related nodes.
AlekPet/ComfyUI_Custom_Nodes_AlekPet
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.