Visit ComfyUI Online for ready-to-use ComfyUI environment
Color selection and conversion tool for AI art projects, converting HEX to RGB.
The RGB_Picker node is designed to help you select and convert colors in your AI art projects. This node allows you to pick a color in HEX format and convert it to its decimal (RGB) equivalent if needed. It simplifies the process of color selection and conversion, making it easier for you to work with colors in different formats. Whether you are working on a digital painting, graphic design, or any other creative project, the RGB_Picker node ensures that you can easily manage and manipulate colors to achieve the desired visual effects.
The color
parameter allows you to specify the color you want to work with. This color should be provided in HEX format (e.g., #FFFFFF
for white). The default value is set to white
. This parameter is crucial as it defines the base color that will be used and potentially converted by the node.
The mode
parameter determines the output format of the color. It accepts two options: HEX
and DEC
. If HEX
is selected, the color will be returned in its original HEX format. If DEC
is selected, the color will be converted to its decimal (RGB) equivalent. This parameter allows you to choose the format that best suits your needs for further processing or display.
The value
parameter is the output of the RGB_Picker node. It returns the color in the format specified by the mode
parameter. If mode
is set to HEX
, the output will be the original HEX color. If mode
is set to DEC
, the output will be a tuple representing the RGB values of the color. This output is essential for using the selected or converted color in subsequent nodes or processes.
color
parameter to input the HEX code of the color you want to work with. This ensures that you start with the correct base color.mode
parameter based on your needs. Choose HEX
if you need the color in its original format, or DEC
if you need the RGB values for further processing.color
parameter is not in a valid HEX format.#
followed by six hexadecimal digits (e.g., #FFFFFF
).mode
parameter is not one of the supported options (HEX
or DEC
).mode
parameter is set to either HEX
or DEC
. Any other value will result in an error.color
parameter is required but was not provided.color
parameter before executing the node.© Copyright 2024 RunComfy. All Rights Reserved.