ComfyUI  >  Nodes  >  ComfyUI Layer Style >  LayerColor: Color of Shadow & Highlight

ComfyUI Node: LayerColor: Color of Shadow & Highlight

Class Name

LayerColor: Color of Shadow & Highlight

Category
😺dzNodes/LayerColor
Author
chflame163 (Account age: 445 days)
Extension
ComfyUI Layer Style
Latest Updated
6/24/2024
Github Stars
0.6K

How to Install ComfyUI Layer Style

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

LayerColor: Color of Shadow & Highlight Description

Enhance image quality by adjusting shadow and highlight colors independently for balanced and appealing visuals.

LayerColor: Color of Shadow & Highlight:

The "LayerColor: Color of Shadow & Highlight" node is designed to enhance the visual quality of your images by allowing you to adjust the colors of shadows and highlights independently. This node provides a powerful way to fine-tune the brightness, saturation, and hue of both the shadow and highlight areas in your image, giving you greater control over the final look. By manipulating these parameters, you can achieve a more balanced and visually appealing image, whether you're aiming for subtle corrections or dramatic effects. This node is particularly useful for AI artists who want to add depth and dimension to their images, making them more dynamic and engaging.

LayerColor: Color of Shadow & Highlight Input Parameters:

shadow_brightness

This parameter controls the brightness level of the shadow areas in the image. Increasing the value will make the shadows brighter, while decreasing it will make them darker. The value ranges from 0.01 to 0.99, with a default value of 1, which means no change in brightness.

shadow_saturation

This parameter adjusts the saturation of the shadow areas. A higher value will make the colors in the shadows more vivid, while a lower value will desaturate them. The value ranges from 0.01 to 0.99, with a default value of 1, indicating no change in saturation.

shadow_level_offset

This parameter offsets the shadow level, allowing you to fine-tune which areas of the image are considered shadows. The value is typically a percentage, and adjusting it can help in targeting the correct shadow regions for color correction.

shadow_range

This parameter defines the range of luminance values that are considered shadows. A wider range will include more areas in the shadow correction, while a narrower range will be more selective. The value is usually a percentage.

shadow_hue

This parameter shifts the hue of the shadow areas. It allows you to change the color tone of the shadows, which can be useful for creative effects or correcting color casts. The value is typically an angle in degrees.

highlight_brightness

This parameter controls the brightness level of the highlight areas in the image. Increasing the value will make the highlights brighter, while decreasing it will make them darker. The value ranges from 0.01 to 0.99, with a default value of 1, which means no change in brightness.

highlight_saturation

This parameter adjusts the saturation of the highlight areas. A higher value will make the colors in the highlights more vivid, while a lower value will desaturate them. The value ranges from 0.01 to 0.99, with a default value of 1, indicating no change in saturation.

highlight_hue

This parameter shifts the hue of the highlight areas. It allows you to change the color tone of the highlights, which can be useful for creative effects or correcting color casts. The value is typically an angle in degrees.

highlight_level_offset

This parameter offsets the highlight level, allowing you to fine-tune which areas of the image are considered highlights. The value is typically a percentage, and adjusting it can help in targeting the correct highlight regions for color correction.

highlight_range

This parameter defines the range of luminance values that are considered highlights. A wider range will include more areas in the highlight correction, while a narrower range will be more selective. The value is usually a percentage.

mask

This optional parameter allows you to provide a mask that specifies which areas of the image should be affected by the shadow and highlight adjustments. If no mask is provided, the entire image will be processed.

LayerColor: Color of Shadow & Highlight Output Parameters:

output_image

The output of this node is the processed image with adjusted shadow and highlight colors. The image will reflect the changes made based on the input parameters, resulting in enhanced visual quality and balanced color tones.

LayerColor: Color of Shadow & Highlight Usage Tips:

  • Experiment with small adjustments to the shadow and highlight parameters to achieve subtle enhancements without over-processing the image.
  • Use the mask parameter to target specific areas of the image for more precise color corrections.
  • Combine this node with other color correction nodes to achieve a comprehensive color grading workflow.

LayerColor: Color of Shadow & Highlight Common Errors and Solutions:

"Invalid shadow or highlight range"

  • Explanation: This error occurs when the shadow or highlight range values are set outside the acceptable limits.
  • Solution: Ensure that the shadow and highlight range values are within the 0.01 to 0.99 range.

"Mask dimensions do not match image dimensions"

  • Explanation: This error occurs when the provided mask does not match the dimensions of the input image.
  • Solution: Make sure the mask has the same dimensions as the input image before applying it to the node.

"Invalid hue value"

  • Explanation: This error occurs when the hue value is set outside the acceptable range.
  • Solution: Ensure that the hue values for both shadows and highlights are within the typical range of 0 to 360 degrees.

LayerColor: Color of Shadow & Highlight Related Nodes

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