Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI_SamplingUtils > Color Convert (Bottom of node is color selector)

ComfyUI Node: Color Convert (Bottom of node is color selector)

Class Name

ColorConvertNode

Category
advanced/color
Author
silveroxides (Account age: 2211days)
Extension
ComfyUI_SamplingUtils
Latest Updated
2026-06-03
Github Stars
0.02K

How to Install ComfyUI_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_SamplingUtils 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Color Convert (Bottom of node is color selector) Description

Facilitates color conversion across formats for artists and designers, ensuring consistency and simplifying color management.

Color Convert (Bottom of node is color selector):

The ColorConvertNode is designed to facilitate the conversion of color representations into various formats, making it a versatile tool for artists and designers working with digital imagery. This node allows you to input colors in different formats, such as hexadecimal, integer, or comma-separated RGB values, and converts them into a standardized output format. This capability is particularly beneficial when you need to ensure color consistency across different platforms or applications. By providing a straightforward method to handle color data, the ColorConvertNode simplifies the process of color management, enabling you to focus more on the creative aspects of your projects.

Color Convert (Bottom of node is color selector) Input Parameters:

color_hex

This parameter accepts a color in hexadecimal format, typically represented as #RRGGBB. It is used to specify the color you wish to convert. The input must be a valid hex code, which includes a # followed by six hexadecimal digits. This format is widely used in web design and digital graphics, making it a convenient option for specifying colors.

color_int

The color_int parameter allows you to input a color as an integer value ranging from 0 to 16777215. This integer represents the RGB color in a compact form, where each color channel (red, green, blue) is encoded within the integer. This format is useful for applications that require color data in a numerical form.

comma_separated

This parameter accepts a color in the form of a comma-separated string, such as 255,255,255, representing the RGB values. Each value must be an integer between 0 and 255. This format is intuitive and easy to use, especially when manually entering color values or when working with data that is already in this format.

Color Convert (Bottom of node is color selector) Output Parameters:

color_hex_output

The color_hex_output provides the converted color in hexadecimal format. This output is useful for applications and platforms that require color data in hex format, ensuring compatibility and consistency in color representation.

color_int_output

This output parameter delivers the color as an integer value. It is particularly useful for scenarios where color data needs to be processed or stored in a compact numerical form, facilitating efficient data handling and manipulation.

color_string_output

The color_string_output gives the color as a string representation, which can be useful for logging, debugging, or displaying color information in a human-readable format. This output ensures that you have a clear and accessible way to understand the color data being processed.

Color Convert (Bottom of node is color selector) Usage Tips:

  • When working with web design or digital graphics, use the color_hex input to easily convert colors into a format compatible with CSS and HTML.
  • Utilize the color_int input when you need to integrate with systems or applications that handle color data as integers, ensuring seamless data exchange.
  • For quick manual entry or when dealing with RGB data, the comma_separated input provides a straightforward way to specify colors.

Color Convert (Bottom of node is color selector) Common Errors and Solutions:

Color must be in format #RRGGBB

  • Explanation: This error occurs when the input for color_hex is not in the correct hexadecimal format.
  • Solution: Ensure that the input starts with a # followed by six valid hexadecimal digits (0-9, a-f, A-F).

Color integer input must be in range 0–16777215

  • Explanation: This error indicates that the color_int input is outside the acceptable range for integer color values.
  • Solution: Verify that the integer value is between 0 and 16777215, inclusive.

Comma-separated input must be 3 integers 0–255 separated by ',' or ', '

  • Explanation: This error arises when the comma_separated input does not contain three valid RGB values.
  • Solution: Check that the input consists of three integers, each between 0 and 255, separated by commas.

Color Convert (Bottom of node is color selector) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_SamplingUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Color Convert (Bottom of node is color selector)