Append Palette
The world's most honest node just glues two palettes together
- palette_a
- palette_b
- combined_palette
Append Palette is the least glamorous node in the Pixel Palette Art pack, and that's exactly why it's useful. It takes two palettes and concatenates them, end to end, into one longer palette. No blending, no deduplication, no cleverness - just palette_a followed by palette_b. In a pack full of gradient math and HSV interpolation, sometimes all you want is "put these colors after those colors."
Where it earns its keep is composition. Pixel palettes are usually small - 8 to 32 colors - and you'll often find yourself with two palettes you like and a real need to merge them into one indexed image. Maybe you have a skin-tone ramp you grabbed from Lospec and a clothing ramp from another game's rip. Append gives you a single PIXEL_PALETTE you can then sort, trim with Copy Subset, or feed into Palette View and Palette Formatter to see and export the result.
How it works
The node calls PixelPalette.append_palette() under the hood, which deep-copies every color from both inputs into a new palette. Two details are worth knowing:
- It copies, it doesn't move. Your source palettes stay untouched, which means you can append the same palette a dozen times in a row to build a repeating ramp. That sounds silly until you realize it's exactly how you'd stretch a 4-color ramp across a 16-slot index.
- The result is a new palette object. ComfyUI's PIXEL_PALETTE type is an in-memory Python object, not a tensor, so nothing here is rendered or persisted on its own - you still need a downstream view/export node to see it.
Inputs and outputs
Two inputs, both PIXEL_PALETTE:
palette_a- the first half.palette_b- appended to the end.
One output, combined_palette, which is palette_a followed by palette_b. There are no knobs, no options, no hidden gotchas. If you're looking at this node and wondering what settings you're missing, you're not missing anything.
Installing
Append Palette ships with the whole Pixel Palette Art pack, so one install covers all sixteen nodes. In ComfyUI Manager, search "Pixel Palette Art", or clone it manually:
cd ComfyUI/custom_nodes
git clone https://github.com/ranska/pixel_palette_art.git
Restart ComfyUI (fully, not just a reload) and the nodes appear under the pixel_art/palette category. The only dependency is Pillow, which ComfyUI already ships, so there are no model downloads and nothing heavy to install.
Common issues
The one thing that trips people up is the same thing that trips people up across this whole pack: you can't see a PIXEL_PALETTE. Append a palette and nothing visibly happens until you wire the output into Palette View or Palette Formatter. If you think the node is broken, hook a Palette View up to combined_palette and check the color count. Also note that palette order matters - swapping the inputs gives you a different result, and unlike Mix Palettes there's no ratio to rescue you.
A real limitation, not a bug: appending doesn't deduplicate. If both palettes share colors, you'll get duplicates in the index, which matters if you're targeting an indexed format with a limited color count. That's what Sort Palette's non-destructive behavior and Copy Subset are for - append, then trim.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| palette_a | PIXEL_PALETTE | Première palette | |
| palette_b | PIXEL_PALETTE | Palette à ajouter à la suite |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| combined_palette | PIXEL_PALETTE | — |