Order of Colors in Imported Palette

Hi all,

I am trying to import a custom color palette to Aseprite, but the colors (which are in order in the png file based on tone gradation) get totally jumbled after import. The colors seem to be imported randomly.

Here is a visual representation of what is happening:

What do I do wrong? Is there a way to import a custom color palette that keeps its gradation of the original file?

Any hep would be much appreciated.

p.s.: Interestingly, if I import just one color (i.e. just the reds) the tone gradation is kept after import.

p.s.2: I also tried formatting the palette .png differently, putting each color in a separate line, but I got the same results.

My solution to this was to put a manually created gimp palette file (.gpl) into the folder where aseprite stores its palettes. It will keep the order like it was declared in the gpl file …

1 Like

WonderFox_Video_Recording_001_001
You can always drag the colors to where you want them. It is a little tedious but you can also drag the mouse and select colors in a row and then move them as well.

Thank you, I am aware of it, but this is definitely not an option. With a palette of about 160 colors (all in total chaos) it would take days to sort out.

Unfortunately I have never used GIMP. Any similar option in Figma or Photoshop maybe?

Hi there, you don’t need to use Gimp. The gpl file is a simple text file looking like this:

GIMP Palette
Name: The Palettes Name
Columns: 3

Channels: RGBA
# Author: 
# URL: 

# Profile: sRGB
# Colors: 163
  0   0   0   0 0x00000000
236 235 231 255 0xffe7ebec
 24  28  25 255 0xff191c18
 34  37  43 255 0xff2b2522
...

One color is a line like this:
34 37 43 255 0xff2b2522
where each segment relates to the following:
[red 0-255] [green 0-255] [blue 0-255] [alpha 0-255] [hexcode with added alpha)

Then you save the file under %appdata%\Aseprite\palettes