FREE TOOL · NO SIGN-UP · RUNS IN YOUR BROWSER
Pick a colour, and this builds a hue-shifted colour ramp around it: shadows that lean cool, highlights that lean warm, every step evenly spaced in brightness. Stack up to eight ramps into a full palette, check it in greyscale, see it on real sprites, then export it for Aseprite, GIMP, Krita, Photoshop or Piskel.
1 · BASE COLOUR
2 · SHAPE THE RAMP
Settings apply to every ramp, so the whole palette stays consistent.
3 · START FROM A PRESET
YOUR PALETTE
EXPORT
How to use the palette generator in four steps
- Pick the mid-tone. Choose the colour you'd use for the main, flat-lit part of the object: the grass, the skin, the slime. Not the highlight and not the shadow.
- Set the length. Match the number of colours to the sprite size (the table below has starting points).
- Turn up the hue shift until the shadows feel cool and the highlights feel warm, then switch on Greyscale check and make sure every step is a clearly different grey.
- Add ramps for the other materials in your scene, then download the palette and load it into your editor.
What a colour ramp is
A colour ramp is a short run of colours that goes from dark to light for one material. Pixel art is built from ramps because every pixel has to earn its place: instead of blending smoothly, you shade a sprite by stepping up and down a handful of chosen colours. A good ramp has steps that are evenly spaced in brightness, so the form reads clearly even at 16×16.
This generator spaces the steps in a perceptual colour space called OKLab, which matches how bright colours actually look to us. That's why a yellow ramp and a blue ramp made with the same settings sit at the same brightness levels and work together in one scene.
Why hue shifting makes pixel art look better
If you make shadows by only darkening a colour, and highlights by only lightening it, the ramp tends to look grey and muddy. Real light doesn't work like that. Sunlight and lamplight are warm, so lit surfaces drift towards yellow. Shadows are filled by blue sky and bounced light, so they drift towards blue and purple.
Hue shifting copies that: each step of the ramp rotates its hue a little, towards warm at the light end and towards cool at the dark end. The Hue shift slider sets how far the ends travel. Around 20 to 35 degrees looks natural; 50 and up gives the punchy, stylised ramps you see in a lot of modern indie games.
What each setting does
| Setting | What it changes | Good starting point |
|---|---|---|
| Colours per ramp | How many steps from darkest to lightest | 4 for 16×16, 5 to 6 for 32×32 |
| Hue shift | How far shadows turn cool and highlights turn warm | 25° to 35° |
| Darkest / Lightest step | The brightness range the ramp covers | 15% to 20% and 90% to 95% |
| Saturation | How strong the colours are overall | 100% (lower it for gloomy or realistic scenes) |
| Soften the ends | Pulls saturation out of the very darkest and lightest steps | 30% to 40%, so blacks and whites don't glow |
| Keep my exact colour | Puts your picked colour into the ramp unchanged | On, if you're matching existing art |
How many colours should a pixel art ramp have?
| Sprite or canvas size | Colours per ramp | Ramps in the palette |
|---|---|---|
| 8×8 and 16×16 sprites | 3 to 4 | 3 to 5 (8 to 16 colours in total) |
| 32×32 characters | 4 to 6 | 4 to 6 (16 to 32 colours) |
| 64×64 and up, backgrounds | 6 to 8 | 5 to 8 (32 to 64 colours) |
Fewer colours is almost always the better choice. A small, deliberate palette is what makes pixel art look like pixel art, and it keeps sprites from different parts of your game looking like they belong together.
Check your values in greyscale
Tick Greyscale check and the swatches and previews turn grey. Each step in a ramp should be an obviously different grey from its neighbours, and the sphere should still look round. If two steps blur together, widen the gap between Darkest and Lightest or use fewer colours. If the whole palette looks the same grey, your ramps need more contrast against each other: try moving one ramp's base colour darker or lighter.
How to load the palette into your editor
- Aseprite and LibreSprite: in the palette panel, open the options menu and choose Load Palette. GPL, HEX, PAL, ACT and PNG all work. You can also drag the PNG straight onto the palette. (Aseprite's colour docs)
- GIMP: download the GPL file, then in the Palettes dialog right-click and choose Import Palette, or drop the file into your GIMP
palettesfolder. (GIMP palette docs) - Krita: in the Palette docker, open the palette list and import the GPL file.
- Photoshop: download the ACT file, then in the Swatches panel menu choose Import Swatches (older versions call it Load Swatches).
- paint.net: download the paint.net file and put it in your Documents/paint.net User Files/Palettes folder.
- Piskel, Pixelorama and most other editors can import GPL or PNG palettes. If one can't, the PNG 1× file has exactly one pixel per colour, so you can open it and pick from it.
Mistakes to avoid
- Pure black and pure white. They flatten everything around them. Keep the darkest step above about 10% and the lightest below about 97%.
- Too many near-identical colours. If you can't tell two swatches apart at a glance, you don't need both.
- Shifting every ramp the opposite way. Keep light warm and shadow cool across the whole palette, or the scene will look like it has two suns.
- Picking colours in isolation. Always judge a palette on a sprite. That's what the previews are for.
Questions
Is the palette generator free?
Yes. It runs entirely in your browser, there is nothing to sign up for, and the palettes you make are yours to use in any project, commercial ones included.
How many colours should a pixel art ramp have?
For 16×16 sprites, 3 or 4 colours per ramp is plenty. 32×32 sprites usually want 4 to 6, and bigger pieces or backgrounds can use 6 to 8. More colours than the sprite has room for just turns into noise.
What is hue shifting in pixel art?
Hue shifting means each step of a colour ramp changes hue as well as brightness: shadows lean towards cool blues and purples, highlights lean towards warm yellows. It makes ramps look rich and lit instead of flat and muddy.
Which palette file should I download for Aseprite?
Aseprite opens GPL, HEX, PAL, ACT and PNG palettes, so any of them works. GPL keeps the colour names and is the most widely supported, so it is a safe default.
Can I share a palette I made?
Yes. The address bar updates as you work, and the "Copy link" button copies a link that reopens the exact same palette and settings for anyone you send it to.
Keep learning
THE SIGNAL
A new pixel art guide every week, in your inbox
Short animated guides on shading, colour, animation and more, plus free zines. No spam, unsubscribe any time.
LINK TO THIS TOOL
Teaching pixel art, or keeping a list of resources? You're welcome to link here. Copy this: