Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply color overlay effect to images, blending specified color with original image for creative effects and color tint customization.
The LayerStyle: ColorOverlay V2 node is designed to apply a color overlay effect to an image, allowing you to blend a specified color with the original image. This node is particularly useful for adding a uniform color tint to an image or for creative effects where you want to merge a color layer with the background image. The node offers various customization options, including blend modes, opacity settings, and the ability to invert masks, providing you with a high degree of control over the final output. This makes it an essential tool for AI artists looking to enhance their images with color overlays in a flexible and intuitive manner.
The background_image
parameter is the primary image to which the color overlay will be applied. This is the base layer that will be blended with the specified color and other settings.
The layer_image
parameter is the image layer that will be used in conjunction with the background image. This layer will be blended with the background image based on the specified blend mode and opacity.
The invert_mask
parameter is a boolean option that allows you to invert the mask applied to the layer image. By default, this is set to True
, meaning the mask will be inverted. This can be useful for reversing the areas where the overlay effect is applied.
The blend_mode
parameter determines the blending mode used to combine the background image and the layer image. Different blend modes can produce various visual effects, such as darkening, lightening, or creating a soft overlay.
The opacity
parameter controls the transparency level of the color overlay. It accepts integer values ranging from 0 to 100, with a default value of 100. A lower opacity value will make the overlay more transparent, allowing more of the background image to show through.
The color
parameter specifies the color to be used for the overlay. It accepts a string value representing a color in hexadecimal format, with a default value of #FFBF30
. This color will be blended with the background image based on the other settings.
The layer_mask
parameter is an optional mask that can be applied to the layer image. This mask can be used to control the areas of the image where the overlay effect is applied, providing additional customization.
The image
output parameter is the final image produced by the node after applying the color overlay effect. This image will reflect the combination of the background image, layer image, specified color, blend mode, opacity, and any masks applied.
Invalid image format
background_image
and layer_image
parameters are provided in a compatible image format such as PNG or JPEG.Opacity value out of range
Invalid color format
#FFBF30
, and correct any formatting issues.© Copyright 2024 RunComfy. All Rights Reserved.