ComfyUI  >  Nodes  >  ymc-node-suite-comfyui >  base colors

ComfyUI Node: base colors

Class Name

text-preset-colors

Category
Ymc Suite/cutoff-region-util
Author
YMC (Account age: 2735 days)
Extension
ymc-node-suite-comfyui
Latest Updated
5/22/2024
Github Stars
0.0K

How to Install ymc-node-suite-comfyui

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

base colors Description

Predefined color names for text-based applications, including customization option.

base colors:

The text-preset-colors node is designed to provide a set of predefined color names that can be used in various text-based applications. This node is particularly useful for AI artists who need to work with a consistent set of color names for text styling or other creative purposes. The node offers a list of base colors, including common ones like red, blue, and green, as well as a customizable option that allows you to specify a custom color name. This flexibility ensures that you can easily integrate the node into your workflow, whether you are working on text formatting, design projects, or any other creative tasks that require color specification.

base colors Input Parameters:

custom

The custom parameter allows you to specify a custom color name if the predefined colors do not meet your needs. This parameter accepts a string input, and the default value is "red". If no value is provided, the node will use "sliver" as the default custom color. This parameter is essential for adding flexibility to the node, enabling you to tailor the color list to your specific requirements.

base colors Output Parameters:

red

The red output parameter returns the string "red", representing the color red in the list of predefined colors.

orange

The orange output parameter returns the string "orange", representing the color orange in the list of predefined colors.

yellow

The yellow output parameter returns the string "yellow", representing the color yellow in the list of predefined colors.

green

The green output parameter returns the string "green", representing the color green in the list of predefined colors.

cyan

The cyan output parameter returns the string "cyan", representing the color cyan in the list of predefined colors.

blue

The blue output parameter returns the string "blue", representing the color blue in the list of predefined colors.

purple

The purple output parameter returns the string "purple", representing the color purple in the list of predefined colors.

black

The black output parameter returns the string "black", representing the color black in the list of predefined colors.

white

The white output parameter returns the string "white", representing the color white in the list of predefined colors.

pink

The pink output parameter returns the string "pink", representing the color pink in the list of predefined colors.

custom

The custom output parameter returns the string specified in the custom input parameter, allowing you to use a custom color name in the list of predefined colors.

base colors Usage Tips:

  • Use the custom parameter to add a unique color name to the list, which can be particularly useful for branding or specific design requirements.
  • Combine this node with other text formatting nodes to create visually appealing text elements in your projects.

base colors Common Errors and Solutions:

'cstr' object already contains a code with the name 'custom'

  • Explanation: This error occurs when you try to add a custom color name that already exists in the predefined list.
  • Solution: Choose a different custom color name that is not already in the predefined list to avoid this conflict.

'undefined' custom color

  • Explanation: This error occurs when the custom parameter is not connected or provided, resulting in the string "undefined".
  • Solution: Ensure that you provide a valid string for the custom parameter to avoid this issue. If left empty, the node will default to "sliver".

base colors Related Nodes

Go back to the extension to check out more related nodes.
ymc-node-suite-comfyui
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.