Skip to main content
A Pixelate Palette is a project asset that holds an ordered list of colors. Palettes give your sprites a consistent, limited set of colors, the way hand-made pixel art usually has. This page covers importing, creating and editing palettes, and where Pixelate Pro uses them.

Where palettes are used

  • Color Palette in Custom mode limits sprites to the colors of its Custom Palette.
  • Palette Swap replaces each color slot by slot with the same slot of its Match Palette, for recolors such as team colors or enemy variants.
Both fields accept a Pixelate Palette, which includes palette files you imported, and also a palette image.

Import a palette file

Drop a palette file into your project, for example one downloaded from Lospec. Pixelate Pro imports these formats with no extra steps: The file becomes a Pixelate Palette you can assign right away. Colors keep the file’s order, and any alpha is dropped: palette colors are always opaque. Inspector of an imported .gpl palette file showing its eight colors, the Create Editable Copy button and Export PNG

Imported palettes are read-only

An imported palette belongs to its file. Its Inspector says the colors come from the file and update when the file changes, so you can keep editing the palette in your art tool. In Unity you can view and export it, but not change it. To edit the colors in Unity, click Create Editable Copy. It saves a normal Pixelate Palette named {name} Editable.asset next to the file and selects it. The copy no longer follows the file.

Fix import problems

If a file has lines Pixelate Pro can’t read, the Console lists them with the line number and what was expected; the rest of the colors still import. A missing header or a wrong color count also gives a warning, and the colors are read anyway. Binary .pal files (RIFF, the Microsoft palette format) aren’t supported. Export the palette from your art tool as JASC-PAL, .gpl or .hex instead.

Create a Pixelate Palette

With nothing (or a folder) selected, choose Assets > Create > Pixelate > Pixelate Palette. You get NewPixelatePalette.asset with no colors; add them in its Inspector.In the Pixelate Browser, right-click on the Palettes tab and choose Create Palette for an empty New Palette.
Choosing Create > Pixelate > Pixelate Palette with an imported palette file selected also makes an editable copy of it.

Edit a palette

Select a Pixelate Palette in the Project window. Its Inspector shows:
  • Sort, which reorders every slot: Invert, or Sort by Hue, Saturation, Brightness, Luminance, RGB, Red, Green or Blue;
  • Export PNG, which saves the palette as a PNG strip, one pixel per color, anywhere inside Assets. Handy for art tools and for sharing;
  • a swatch strip with every color in order;
  • the Palette Slots list. Change a slot’s color with its color field or eyedropper, drag the handle to reorder slots, and use + / - to add or remove slots.
Every change can be undone. You can also edit a Custom Palette in place inside the Color Palette effect: click Start Editing to show its slots, and Stop Editing when you are done. In Palette Swap, Edit Match Palette does the same for the Match Palette. Either way you are editing the palette asset itself, so every Style Profile that uses it changes too.
For Palette Swap, slot order matters: slot 3 of the Match Palette replaces slot 3 of the source palette. Sort both palettes the same way, or arrange the Match Palette’s slots to line up, before you recolor.

Pick or drag a palette

Clicking the picker button (the circle) of a Custom Palette or Match Palette field opens a picker that lists only Pixelate Palettes, including the ones imported from palette files. Each one shows a thumbnail of its colors. To use a palette image directly, drag a Sprite or Texture2D from the Project window onto the field. The field turns down anything else. A palette image works as it is, but a Pixelate Palette is easier to sort and edit, which is what Create Pixelate Palette is for. You can also drag palettes onto these fields from the Palettes tab of the Pixelate Browser.

Sample palettes

Pixelate Pro ships 15 palettes in _Samples/Palettes, from 2 to 64 colors, ready to assign. Twelve of them come from artists on Lospec, included unchanged. Samples lists every palette with its color count, the sample Style Profile that uses it, and its author.

Next steps

Color Palette

Limit sprites to a palette, automatic or your own.

Palette Swap

Recolor through a second palette.