Visit ComfyUI Online for ready-to-use ComfyUI environment
Predefined color names for text-based applications, including customization option.
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.
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.
The red
output parameter returns the string "red", representing the color red in the list of predefined colors.
The orange
output parameter returns the string "orange", representing the color orange in the list of predefined colors.
The yellow
output parameter returns the string "yellow", representing the color yellow in the list of predefined colors.
The green
output parameter returns the string "green", representing the color green in the list of predefined colors.
The cyan
output parameter returns the string "cyan", representing the color cyan in the list of predefined colors.
The blue
output parameter returns the string "blue", representing the color blue in the list of predefined colors.
The purple
output parameter returns the string "purple", representing the color purple in the list of predefined colors.
The black
output parameter returns the string "black", representing the color black in the list of predefined colors.
The white
output parameter returns the string "white", representing the color white in the list of predefined colors.
The pink
output parameter returns the string "pink", representing the color pink in the list of predefined colors.
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.
custom
parameter to add a unique color name to the list, which can be particularly useful for branding or specific design requirements.custom
parameter is not connected or provided, resulting in the string "undefined".custom
parameter to avoid this issue. If left empty, the node will default to "sliver".© Copyright 2024 RunComfy. All Rights Reserved.