Visit ComfyUI Online for ready-to-use ComfyUI environment
Analyze and compare color palettes for AI artists, calculating brightness, contrast, and color channel multipliers for alignment and adjustment.
The Compare Palettes [Dream] node is designed to analyze and compare two color palettes, providing a detailed comparison of their brightness, contrast, and color components (red, green, and blue). This node is particularly useful for AI artists who want to understand the differences between two palettes in terms of their visual properties. By comparing these properties, you can make informed decisions about color adjustments and harmonization in your artwork. The node calculates multipliers for brightness, contrast, and each color channel, which can be used to align or adjust one palette to match another more closely.
This parameter represents the first color palette to be compared. It is an instance of RGBPalette
and contains a collection of colors that will be analyzed for their brightness, contrast, and individual color components. The analysis of this palette will serve as the baseline for comparison.
This parameter represents the second color palette to be compared. Like the first palette, it is an instance of RGBPalette
and contains a collection of colors. The properties of this palette will be compared against those of the first palette to determine the relative differences in brightness, contrast, and color components.
This output parameter provides the ratio of the average brightness of the second palette to the first palette. It indicates how much brighter or darker the second palette is compared to the first.
This output parameter provides the ratio of the average contrast of the second palette to the first palette. It helps you understand the difference in contrast levels between the two palettes.
This output parameter provides the ratio of the average red component of the second palette to the first palette. It indicates how the red intensity of the second palette compares to the first.
This output parameter provides the ratio of the average green component of the second palette to the first palette. It indicates how the green intensity of the second palette compares to the first.
This output parameter provides the ratio of the average blue component of the second palette to the first palette. It indicates how the blue intensity of the second palette compares to the first.
TypeError: 'NoneType' object is not iterable
None
.a
and b
are valid instances of RGBPalette
and contain color data.ValueError: min() arg is an empty sequence
ZeroDivisionError: float division by zero
© Copyright 2024 RunComfy. All Rights Reserved.