2025-07-06 13:29:57 +02:00
wf
2025-07-06 13:29:57 +02:00
2025-07-06 12:33:16 +02:00
2025-07-06 12:33:16 +02:00
2025-07-06 12:33:16 +02:00
2025-07-06 12:33:16 +02:00
2025-07-06 12:33:16 +02:00
2025-07-06 12:33:16 +02:00
add
2025-07-06 13:21:17 +02:00
2025-07-06 13:18:13 +02:00
add
2025-07-06 13:21:17 +02:00
2025-07-06 12:33:16 +02:00

🎨 ComfyUI Colormaster Nodes

This project offers a collection of custom nodes for ComfyUI, dedicated to creating/manipulating hexadecimal color palettes, the tools can be diverted for other functionalities.

📦 Included Nodes

1. Image Collage

image

Combines up to 8 images into a single canvas either horizontally or vertically with adjustable spacing.

  • Inputs:
    image_1 to image_8 (optional),
    direction: horizontal / vertical
    spacing: space in pixels between images

  • Output: A single merged image

  • 🔧 Use case: create simple image strips, side-by-side comparisons, mood boards


2. Annotate Hex Lines

image

Adds text annotations (typically hexadecimal color codes) directly onto an image.

  • Inputs: image, text lines
  • Use case: labeling generated or extracted colors visually

3. Select Hex Line

image

Dropdown node to select a line from a .txt or .csv list of hex color codes.

  • Inputs:
    list_file: input file
    reload_dropdown: boolean
    mode: random / selected
    selected_line: shows dropdown if mode is set to "selected"
  • Output: selected string (typically a color or color set)

4. Hex Color to Image

image

Generates a solid color image from a hexadecimal color string.

  • Inputs:
    hex_color: e.g. #ff6600
    width, height (in pixels)

  • Output: flat color image

  • 🎯 Use case: display a color block or build swatches dynamically


5. Color Palette Extractor

image

Extracts a dominant color palette from a given image using clustering.

  • Inputs: image
  • Output: list of dominant hexadecimal colors

🛠️ Installation

  1. Clone or download the folder :

    git clone https://github.com/orion4d/ComfyUI_colormaster.git
    
  2. Install dependencies:

pip install -r requirements.txt

🌟 Show Your Support

If this project helped you, please consider giving it a ⭐ on GitHub!

Made with ❤️ for the ComfyUI community

by Orion4D

Buy Me A Coffee
S
Description
No description provided
Readme MIT
894 KiB
Languages
Python 100%