ComfyUI Node Runs on cloud

Color Pallete

The T2I-Adapter color-scheme preprocessor

By Fannovel16·Created 3 years ago·Updated 4 months ago· 4,132
Color Pallete
  • image
  • IMAGE
resolution512

This node grabs the color scheme of an image and nothing else. It shrinks the picture down into a coarse grid of blurry color blocks - the dominant hues, roughly where they sit - and that becomes a condition for the T2I-Adapter color model. The point is palette transfer: take the mood and color distribution of a reference (warm sunset tones, cool teal-and-orange, muted pastels) and steer a fresh generation toward it, without importing any of the reference's actual shapes or content. It's a niche, older tool, but for "make it feel like this color-wise" it does the job.

How it works

The preprocessor downsamples the input hard, collapsing it into a low-resolution mosaic of average colors. All the detail is gone; what survives is the spatial arrangement of color. That mosaic feeds a T2I-Adapter - specifically t2iadapter_color - which is a lighter-weight cousin of ControlNet. T2I-Adapters condition generation the same broad way ControlNet does but with a smaller, cheaper module. The color adapter reads the palette grid and nudges the model's output toward that color layout while your prompt handles the actual subject.

Reality check on the era: T2I-Adapters are an SD 1.5 / SDXL-generation technique. They were a big deal early on as the low-VRAM alternative to ControlNet, and SDXL still lists T2I-Adapter as the lightweight option. But they didn't get rebuilt for Flux, Qwen, or Z-Image, so this is a workflow you run on the older bases.

The inputs that matter

Dead simple. It takes an image and returns an IMAGE - the color palette grid - for your T2I-Adapter Apply node. The only setting:

  • resolution (default 512) - working size; match your render.

There's nothing to tune on the palette extraction itself.

Installing it

ComfyUI Manager: search ComfyUI's ControlNet Auxiliary Preprocessors, install, restart. Or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/Fannovel16/comfyui_controlnet_aux
pip install -r requirements.txt

Restart ComfyUI. No model download - the palette grid is pure image downsampling, so it works immediately. You'll separately need the t2iadapter_color model for the conditioning to actually apply.

Where people get burned

The main confusion is expecting ControlNet-grade precision - this is a palette hint, deliberately coarse, so it steers overall color, not exact placement. If you want strict color-per-region control you're using the wrong tool. Second, remember it targets a T2I-Adapter, not a standard ControlNet: you load t2iadapter_color, on SD 1.5 or SDXL. If you're on a modern base, there's no color adapter waiting for this, and honestly you'd get color direction more easily from the prompt or an IP-Adapter-style reference. As with everything in the pack, the palette grid does nothing until the matching adapter is loaded downstream.

CategoryControlNet Preprocessors/T2IAdapter-only

Inputs (2)

NameTypeDefaultDescription
imageIMAGE
resolutionoptINT51264–16384

Outputs (1)

NameTypeDescription
IMAGEIMAGE