Table of Content
- Description
- 🌁 CR Color Panel:
- 🌁 CR Color Panel Input Parameters:
- 🌁 CR Color Panel Output Parameters:
- 🌁 CR Color Panel Usage Tips:
- 🌁 CR Color Panel Common Errors and Solutions:
- Related Nodes
ComfyUI Node: 🌁 CR Color Panel
Class Name
CR Color Panel
Category 🧩 Comfyroll Studio/👾 Graphics/🌁 Layout
Author Suzie1 (Account age: 2158days)Extension Comfyroll StudioLatest Updated 2024-06-05Github Stars 0.49K
Github Ask Suzie1 Questions Current Questions Past Questions
How to Install Comfyroll Studio
Install this extension via the ComfyUI Manager by searching for Comfyroll Studio
-
- Click the Manager button in the main menu
-
- Select Custom Nodes Manager button
-
- Enter Comfyroll Studio 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
🌁 CR Color Panel Description
Generate customizable solid color panels for backgrounds and overlays with specified dimensions and colors, supporting standard and hexadecimal codes.
🌁 CR Color Panel:
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.
🌁 CR Color Panel Input Parameters:
panel_width
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.
panel_height
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.
fill_color
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.
fill_color_hex
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.
🌁 CR Color Panel Output Parameters:
image
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.
show_help
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.
🌁 CR Color Panel Usage Tips:
- To create a background for your design, set the
panel_width
andpanel_height
to match the dimensions of your canvas. - Use the
fill_color_hex
parameter to match specific brand colors or design guidelines by entering the exact hexadecimal color code. - Experiment with different
fill_color
options to quickly test various color schemes and find the one that best fits your project.
🌁 CR Color Panel Common Errors and Solutions:
Invalid color code
- Explanation : The
fill_color_hex
parameter contains an invalid hexadecimal color code. - Solution : Ensure that the color code is a valid 6-character hexadecimal string, starting with a
#
(e.g.,#FF5733
).
Panel dimensions out of range
- Explanation : The values for
panel_width
orpanel_height
are outside the allowed range (8 to 4096 pixels). - Solution : Adjust the dimensions to be within the specified range to ensure the panel is generated correctly.
Missing required parameters
- Explanation : One or more required parameters (
panel_width
,panel_height
,fill_color
) are not provided. - Solution : Ensure all required parameters are specified with valid values before executing the node.