ComfyUI  >  Nodes  >  ComfyUI_ColorMod >  ColorMod (move)

ComfyUI Node: ColorMod (move)

Class Name

ColorModMove

Category
ColorMod
Author
city96 (Account age: 552 days)
Extension
ComfyUI_ColorMod
Latest Updated
8/6/2024
Github Stars
0.1K

How to Install ComfyUI_ColorMod

Install this extension via the ComfyUI Manager by searching for  ComfyUI_ColorMod
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_ColorMod 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

ColorMod (move) Description

Adjust image color values by adding specified amounts to pixel channels for fine-tuning brightness and creating vibrant or subdued tones, with option to clip values for color accuracy.

ColorMod (move):

The ColorModMove node is designed to adjust the color values of an image by adding a specified amount to each pixel's color channels. This node is particularly useful for fine-tuning the brightness or darkness of an image, allowing you to create subtle or dramatic shifts in the overall color tone. By using this node, you can enhance the visual appeal of your images, making them more vibrant or subdued based on your artistic vision. The node also offers an option to clip the resulting values to ensure they remain within a valid range, preventing any potential color distortions.

ColorMod (move) Input Parameters:

image

This parameter represents the input image that you want to modify. The image should be in a format that the node can process, typically a tensor representation of the image data.

move

This parameter specifies the amount by which to adjust the color values of the image. It accepts a floating-point value ranging from -1.000 to 1.000, with a default value of 0.0. A positive value will increase the brightness, while a negative value will decrease it. The step size for adjustments is 0.01, allowing for precise control over the modification.

clip

This boolean parameter determines whether the resulting color values should be clipped to the range of 0.0 to 1.0. The default value is True, which ensures that the modified color values do not exceed the valid range, thus preventing any potential color distortions. If set to False, the values will not be clipped, which might be useful for certain artistic effects but could result in out-of-range color values.

ColorMod (move) Output Parameters:

image

The output parameter is the modified image with adjusted color values. This image will have the same dimensions as the input image but with color values altered based on the specified move parameter. If clipping is enabled, the color values will be constrained within the range of 0.0 to 1.0.

ColorMod (move) Usage Tips:

  • To subtly enhance the brightness of an image, use a small positive value for the move parameter, such as 0.1 or 0.2.
  • For a darker, more moody effect, use a negative value for the move parameter, like -0.1 or -0.2. - Always enable the clip parameter if you want to ensure that the color values remain within the valid range, especially when making significant adjustments.

ColorMod (move) Common Errors and Solutions:

ValueError: Unknown mode 'mode'

  • Explanation: This error occurs when an invalid mode is passed to the node.
  • Solution: Ensure that the mode parameter is set to a valid value, such as "clip", "normalize", or "compress".

AssertionError: Color conversion failed! Missing cv2 op 'COLOR_src2dst'

  • Explanation: This error occurs when the specified color conversion operation is not available in the cv2 library.
  • Solution: Verify that the src and dst parameters are set to valid color space names supported by cv2, such as "RGB", "BGR", "HLS", "HSV", "YCrCb", or "YUV".

ColorMod (move) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_ColorMod
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.