ComfyUI > Nodes > ComfyUI > Adjust Contrast

ComfyUI Node: Adjust Contrast

Class Name

AdjustContrast

Category
dataset/image
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

Adjust Contrast Description

Modify image contrast to enhance visual distinction, brightness, and clarity for improved aesthetic appeal and dynamic visuals.

Adjust Contrast:

The AdjustContrast node is designed to modify the contrast of images, enhancing the visual distinction between different elements within an image. By adjusting the contrast, you can make the lighter areas of an image appear brighter and the darker areas appear more pronounced, which can significantly impact the overall aesthetic and clarity of the image. This node is particularly useful for improving the visual appeal of images by making them more vivid and dynamic. The node operates by applying a contrast factor to the image, which determines the degree of contrast adjustment. This process is essential for artists and designers who wish to fine-tune the visual impact of their images, ensuring that the details are highlighted appropriately and the image's overall tone is balanced.

Adjust Contrast Input Parameters:

factor

The factor parameter controls the degree of contrast adjustment applied to the image. It is a floating-point value that ranges from 0.0 to 2.0, with a default value of 1.0. A factor of 1.0 means no change to the contrast, while a factor less than 1.0 reduces the contrast, making the image appear flatter and less dynamic. Conversely, a factor greater than 1.0 increases the contrast, enhancing the differences between light and dark areas, which can make the image appear more vivid and detailed. Adjusting this parameter allows you to tailor the contrast to suit the specific needs of your image, whether you want to create a more subtle or a more striking visual effect.

Adjust Contrast Output Parameters:

image

The output parameter image represents the processed image with the adjusted contrast. This output is crucial as it reflects the changes made by the node, allowing you to see the impact of the contrast adjustment on the image. The processed image will have enhanced or reduced contrast based on the factor parameter, providing a visual representation of how the contrast adjustment affects the image's overall appearance and detail.

Adjust Contrast Usage Tips:

  • To achieve a more dramatic effect in your images, try setting the factor parameter to a value greater than 1.0. This will increase the contrast and make the image's features stand out more prominently.
  • If you want to create a softer, more muted look, consider using a factor value less than 1.0. This can be useful for creating a more subdued and harmonious image tone.

Adjust Contrast Common Errors and Solutions:

Image not displaying correctly after adjustment

  • Explanation: This issue may occur if the factor value is set too high or too low, causing the image to lose detail or appear unnatural.
  • Solution: Adjust the factor parameter to a more moderate value, closer to 1.0, to ensure that the image retains its natural appearance while still benefiting from contrast enhancement.

Unexpected results with certain images

  • Explanation: Some images may have unique lighting or color characteristics that react differently to contrast adjustments.
  • Solution: Experiment with different factor values and consider pre-processing the image with other nodes, such as brightness or saturation adjustments, to achieve the desired effect.

Adjust Contrast Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
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 Models, enabling artists to harness the latest AI tools to create incredible art.

Adjust Contrast