Skip to main content

Palettes

Palettes are a way to organize colors in your projects.

Pixelorama ships on most platforms with several pre-made palettes. These palettes can be freely modified.

All palettes are physically stored on disk in Pixelorama data folder.

undo/redo

Palettes currently don't support undo/redo so be careful with any modifications because they are permanent.

Palettes panel

Pixelorama's Canvas

The top of the panel consists of Palettes selector, Edit palette button and Add new palette button.

The main section is the Palette grid, displaying all colors present in the currently selected palette.

On the left of the Palette grid are tools used to edit the colors of the palette.

Creating a new palette

Pixelorama's Canvas

A new palette can be created by clicking Add new palette button.

Preset

You can select one of the presets to initialize a new palette with colors.

PresetDescription
EmptyEmpty palette with no colors.
From Current PalettePalette will be created with colors copied from the currently selected palette.
From Current SpriteColors will be imported from the currently opened image.
From Current SelectionColors will be imported from the current selection.

Name

The name of the palette is also used as a palette file name.

Comment

The palette's description. Default Pixelorama palettes use this field to credit palette authors.

Width and Height

Palettes have set width and height (can be resized later) which define their grid size. Allowed values are from 1 to 64.

Create colors with alpha component

If this option is not toggled on, colors will be imported without alpha channel and transparency is ignored.

Get colors from

You can limit colors import to just some or all cels (as seen in the animation timeline).

OptionDescription
Current frameColors imported from currently selected frame and all of its layers.
Selected celsColors imported only from selected cels.
All framesColors imported from all frames and their layers.

Editing palette metadata

Pixelorama's Canvas

Currently, selected palette metadata can be edited with Edit palette button.

The majority of properties are identical to create a new palette dialog.

palette resizing

If the palette size is reduced positions of all colors will be reset to the beginning of the palette. If some colors don't fit in the new size they will be removed!

Name

If the palette name is changed the file name will also be changed accordingly.

Path

Displays where exactly in the file system the palette file is located.

Delete button

Permanently removes the palette from the file system.

Palette grid

Displays all colors present in the palette. Colors in the grid can be interacted with.

InteractionDescription
Left clickColor will be left selected and set as the left tool color.
Right clickColor will be right selected and set as the right tool color.
Double clickDouble click on an existing color opens a color picker to change it's color.
palette grid panning

If palette size is greater than 8x8 it can be panned in the grid either with sliders or Middle click + Mouse drag.

Tools

Tools allow you to edit colors in the palette.

ButtonToolDescription
+Add a new colorLeft mouse click adds left tool color. Right mouse click adds right tool color.
-Remove a selected colorLeft mouse click removes left selected color. Right mouse click removes right selected color.

Colors movement

Colors can be moved and copied around in the palette grid.

ShortcutMovement description
Mouse dragColor switches with a color it is dropped on.
Shift + Mouse dragColor is inserted where dropped. If dropped on another color the original color is moved to the right with every color next to it.
Ctrl + Mouse dragColor is copied where dropped. If dropped on another color the original color is overwritten.

Palettes import

To import a palette, either drag and drop a palette file into Pixelorama window or use File > Open dialog.

An imported palette will be converted to Pixelorama palette, stored physically in the Pixelorama data folder and added to the palettes selection in Palettes panel.

The only exception to import behavior is Image palette. Importing an image to Pixelorama will open Import Options dialog in which you can select Import as > New palette to process an image to import a palette.

palette extraction

You can import any image as a palette and extract colors from it. Every color from the image will be added to the palette only once. With bigger images, it can take longer time to finish.

Supported formats

FormatFile extension
Pixelorama palette.tres
GIMP GPL.gpl
PAL.pal
Image palette.png, .bmp, .hdr, .jpg, .jpeg, .svg, .tga, .webp
Pixelorama old palette.json
file extensions

Palette format detection uses file extensions to determine how to parse palette formats. An incorrect extension will result in an import error.

pre-0.9 pixelorama palettes

Palettes created in versions of Pixelorama prior to 0.9 have to be reimported. The save format was changed from .json to more Godot-compatible .tres.