ComfyUI Extension: Img2color - Extract Colors from Image

Authored by christian-byrne

Created

Updated

16 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Extract the most common colors from an image, up to any number. Convert colors to plain English names using various color naming systems.

Looking for a different extension?

Custom Nodes (1)

README

Img2Color Palette Extractor ComfyUI Node

alt text

  • Uses KMeans clustering to extract the dominant colors from an image
  • Uses webcolors and colornamer to get closest matching color names from various color naming systems
  • get_complementary toggler to get the complementary colors instead

Requirements

  • colornamer==0.2.3
  • scikit_learn>=1.4.0
  • webcolors==1.13

Installation

  • If you use a virtual environment to run ComfyUI, activate it
  • cd to the ComfyUI/custom_nodes directory
  • git clone this repository
  • cd to the img2colors-comfyui-node directory
  • pip install -r requirements.txt

Color Name Categories

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more