ComfyUI Extension: ComfyUI-Color-Palette
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.
A custom node for ComfyUI that extracts the main color palette from an uploaded image and calculates the percentage of each color.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI-Color-Palette
<img width="1156" height="549" alt="图示" src="https://github.com/user-attachments/assets/4ab557b2-b4fd-43b2-bb26-fee55fc40ded" />用于 ComfyUI 的自定义节点,用于从上传的图像中提取主色调并计算每种颜色的占比。
A custom node for ComfyUI that extracts the main color palette from an uploaded image and calculates the percentage of each color.
Installation
-
Navigate to your ComfyUI
custom_nodesdirectory:cd ComfyUI/custom_nodes/ -
Clone this repository (or create a new folder
ComfyUI-Color-Paletteand copy the files into it):git clone <your-github-repo-url> ComfyUI-Color-Palette cd ComfyUI-Color-Palette -
Install the required dependencies:
pip install -r requirements.txt -
Restart ComfyUI.
Features
- Extracts the top N dominant colors from an image using K-Means clustering.
- Generates a visual color palette image.
- Outputs detailed hex codes and percentage distributions as text.
Usage
Find the node in the ComfyUI menu under: image -> analysis -> 🎨 Image Color Palette Analyzer. Connect an image input, set the number of colors you want to extract, and view the output image and text data.
感谢你的支持 作者:LEOZONG | 千澄君
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.