Palettes
How indexed colors work, and what happens when you edit a shared palette.
Pixels in Pixart store a palette index. If a hundred pixels use slot 3, changing slot 3 changes all hundred pixels, across every layer and frame. This is useful for recoloring characters, fixing a shade or trying another color scheme without repainting.
Slot 0 is reserved for transparency. You can't move it, delete it or turn it into an opaque color. A document has room for 256 slots total, including transparency.
Choose and edit a color
Click a palette swatch to select it. The color field on the right of the palette row edits that slot immediately; there is no Apply button. Its eyedropper can sample a color from the screen. The Pick tool on the right, or holding Alt and clicking the canvas, selects an existing visible palette index instead. Picking from the canvas does not change any swatch colors.
Click +, immediately before the transparent swatch, to add a color. Pixart copies the selected color into a new slot, selects it and opens Unity’s color picker so you can edit it right away. The original color stays unchanged. If transparency is selected, the new slot starts white. Palette > Add Color does the same thing.
The + button is disabled when the palette reaches 256 slots, including transparency. Adding a slot and editing its color are separate undo steps.
If you only wanted a different color for future strokes, add or select another slot. Editing an existing swatch also changes all pixels that already reference it.
Get colors from an image
Choose Palette > Import Palette…, or Create > Pixart > Import Palette… in the Project window. Pick an image, set the maximum number of colors, check the swatches, and save a palette asset. This does not create a sprite or change the palette of the document you have open. Assign the result through Palette > Set Palette….
See Import a palette for a complete walkthrough, including transparency and color reduction.
Local and shared palettes
New sprites start with a local palette stored in the .pixart asset. To use a palette asset, choose Palette > Set Palette…. The samples include four ready-made palettes, or you can create a palette through Create > Pixart > Palette.
While linked, external edits to that palette asset update the sprite. Palette slots keep their index meaning, so choose palettes with a compatible ordering when you want predictable swaps. A palette too short for the document's used indices can't be assigned.
Editing a color in a linked sprite creates a local copy, so you can try new colors on that sprite without affecting the others.
After a local edit you have two choices:
- Override Palette: write your local palette back to the original shared asset and reconnect it. Other sprites linked to that asset will see the changes too.
- Save New Palette…: save a separate palette asset and use that for this sprite.
For example: assign Sweetie 16, change one swatch, and check another sprite using Sweetie 16. The other sprite stays unchanged. Override Palette applies those changes to the shared asset.
Reorder and remove colors
Drag a swatch onto another to reorder it. Pixart remaps the pixel indices across all frames and layers, so this changes palette order without changing the image. Slot 0 stays fixed.
Right-click a swatch for Move Left, Move Right or Delete Color. The Palette menu has the same actions. Deleting a used color asks which slot should replace it; transparency is a valid replacement. Remove Unused Colors checks the whole document, including hidden and locked layers.
These edits support Undo. With a shared palette, they apply to a local copy until you use Override Palette.
See sample palettes and author credits for Ice Cream GB, Endesga 8, Sweetie 16 and Endesga 32.
