Skip to content

Choose colours · 5 min read

How to choose a pixel art colour palette

A small, deliberate palette is one of the quickest ways to make pixel art look finished. This guide covers building colour ramps, importing palettes you already like and keeping a whole image to a fixed set of colours.

Open the studio in a new tab ↗ and follow along.

1. Start with fewer colours

A limited palette is not a handicap in pixel art. It is what makes a sprite look deliberate. With fewer colours you reuse the same shades everywhere, so shadows and highlights stay consistent and the image reads clearly at small sizes.

As a rough guide, a single 16 × 16 sprite needs four to eight colours: an outline, two or three shades of the main colour and a highlight. A whole game scene can work with 16 to 32. Start smaller than you think you need. It is easier to add a colour when something is missing than to tidy up twenty near-identical ones.

2. Build colour ramps

A ramp is a short run of colours from dark to light that you use to shade one material: skin, grass, metal and so on. Three to five steps is plenty. Two habits make ramps look richer:

  • Shift the hue as well as the brightness. Let shadows lean slightly cooler (towards blue or purple) and highlights slightly warmer (towards yellow). A ramp that only changes brightness tends to look grey and flat.
  • Keep the steps distinct. Neighbouring colours should be clearly different at a glance. If you cannot tell two shades apart when zoomed out, drop one.

In the editor, pick colours in the Colour panel and type exact values into its hex field. Choose + Save to add the current colour to My colours, your own saved palette of up to 256 colours. My colours starts with eight ready-made ramps, from dark to light, that you can use straight away or replace.

Order matters if you want to use the Shading ink. With the Pencil selected, set the ink to Shading. Each pixel you paint over then moves one step along your palette's order instead of being replaced. Keep each ramp in dark-to-light order and you can shade by painting over an area once, with the opposite direction available by right-dragging.

3. Import a palette file

If you already have a palette you like, from a palette website or another program, you can bring it in. Choose File → Import palette… and pick a file in one of these formats:

  • .gpl, the GIMP palette format that many pixel art palette sites offer for download.
  • .hex or .txt, a plain list of hex colour codes, one per line.

To share your own palette, choose File → Export palette, which saves a .gpl file. Palette files are tiny, so they are easy to keep alongside a project or swap with collaborators.

4. Take colours from an image

A reference picture, a screenshot or an existing sprite can give you a coherent palette in seconds. Bring the image in with File → Import image…, then choose From image under the palette in the Colour panel. In the Palette from image dialog, choose whether to sample All layers or only the Active layer, and how many Colours to extract: 8, 16, 32 or 64. The result is added to My colours.

Treat the extracted colours as a draft. Remove near-duplicates, adjust a few so the ramps step evenly, and you have a palette that matches your reference. The same approach is the first step in turning a photo into pixel art.

5. Lock artwork to a palette

Two features keep an image strictly to a set of colours:

  • Palette lock, in the options bar, snaps everything you paint, fill and draw to the nearest palette colour. Blur and Smudge are the exceptions, because they mix colours by design.
  • Canvas → Convert to indexed colour… turns the whole document into an indexed image of up to 256 colours. Choose whether the palette comes from the colours already in the image, from My colours, or from a reduction to 2 to 256 colours. You can add Dither (Floyd–Steinberg) to soften the result.

In an indexed document every pixel refers to a palette entry. Changing an entry recolours every pixel that uses it, straight away, which makes it easy to try a night-time version of a scene or a new costume colour. You can reorder entries and switch to Ramp view to see the palette as rows of ramps.

If you want to keep the document in full colour but recolour it to a palette, use Canvas → Remap to palette… instead. It repaints every layer using only your palette colours, with optional dithering, and keeps transparency.

When you export, PNG (indexed) writes a palette-based PNG of up to 256 colours, which is small and keeps the colours exact. The dithering guide explains when dithering helps a small palette and when it hurts.