Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate customizable solid color panels for backgrounds and overlays with specified dimensions and colors, supporting standard and hexadecimal codes.
The CR Color Panel node is designed to create a solid color panel image with customizable dimensions and color. This node is particularly useful for generating backgrounds, overlays, or any other graphical elements that require a uniform color fill. By allowing you to specify the width, height, and color of the panel, it provides a flexible and straightforward way to produce consistent color panels for various artistic and design purposes. The node also supports both standard color selection and hexadecimal color codes, making it versatile for different workflows.
This parameter defines the width of the color panel in pixels. It accepts integer values with a minimum of 8 and a maximum of 4096 pixels. The default value is set to 512 pixels. Adjusting this parameter will change the horizontal size of the generated panel, allowing you to create panels that fit specific design requirements.
This parameter specifies the height of the color panel in pixels. Similar to panel_width
, it accepts integer values ranging from 8 to 4096 pixels, with a default value of 512 pixels. Modifying this parameter will alter the vertical size of the panel, enabling you to tailor the panel's dimensions to your needs.
This parameter allows you to select the color that will fill the panel. It uses a predefined set of colors (referred to as COLORS
in the context). Choosing a color from this set will determine the overall appearance of the panel, making it a crucial parameter for achieving the desired visual effect.
This optional parameter lets you specify the fill color using a hexadecimal color code. It accepts a string value with a default of #000000
(black). This parameter provides an alternative way to define the panel's color, offering more precision and flexibility, especially when you need to match specific color codes.
This output parameter returns the generated color panel as an image. The image will have the dimensions and color specified by the input parameters. This output can be used directly in your design projects or further processed in your workflow.
This output parameter provides a URL to the documentation or help page for the CR Color Panel node. The URL is https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Layout-Nodes#cr-color-panel
, which offers additional information and guidance on using the node effectively.
panel_width
and panel_height
to match the dimensions of your canvas.fill_color_hex
parameter to match specific brand colors or design guidelines by entering the exact hexadecimal color code.fill_color
options to quickly test various color schemes and find the one that best fits your project.fill_color_hex
parameter contains an invalid hexadecimal color code.#
(e.g., #FF5733
).panel_width
or panel_height
are outside the allowed range (8 to 4096 pixels).panel_width
, panel_height
, fill_color
) are not provided.© Copyright 2024 RunComfy. All Rights Reserved.