PIXEL ART

Pixel art colour palette: choosing colours, shading and dithering.

A pixel art colour palette sets the mood of a piece as much as the drawing does, because every pixel has to use one of its few colours. Learn how to build one from rows of light-to-dark shades, how many colours you need, and how shading, dithering and anti-aliasing get the most out of each one.

Explore Adobe Firefly

Pixel art landscape of a quiet forest at sunset.

What is a pixel art colour palette?

How many colours should you use?

How to build your own palette.

Colour ramps from dark to light.

8-bit pixel art of an open fan deck of colour swatches.

Hue shifting.

Controlling saturation.

Shading techniques for pixel art.

Good pixel art shading starts with deciding where the light comes from, showing the shape of each object with areas of light and shadow, and adding the shadows that objects cast on each other. The palette supplies the shades, and shading decides where each one goes.

Picking a light source.

Choose a light source that suits the whole scene, not just the object you are drawing. Light from high above gives short shadows and bright tops, as at midday. Low light from one side stretches the shadows and adds drama. Light from behind leaves the subject in shadow with a thin bright edge, called rim light, which suits a figure standing in a doorway.

The colour of the light matters as much as its direction. Warm light makes shadows look cooler by contrast. Decide on the light before you finish the palette, so the hue shifts in your ramps match it.

In a game or a set of illustrations, keep one light direction for every asset: a character lit from the left beside a tree lit from the right looks pasted in.

Avoiding pillow shading.

Pillow shading happens when the shading follows the outline instead of the object’s shape, so the fix is to think about the object in 3D before you think about pixels. Break each object into simple shapes, such as a box, a cylinder or a sphere, and shade each side as it would look under your light.

A wooden crate lit from above and from the right has three visible sides: a light top, a mid-tone face towards the light and a shadowed face turned away, each in one flat colour with a sharp change where they meet. A tree trunk, being a cylinder, has no sharp edges, so the shade changes gradually across its width and is darkest a little before the far edge. A rounded stone sits between the two, with a soft change from its lit top to its shadowed underside.

The line where light gives way to shadow, sometimes called the terminator, tells the eye most about an object’s shape: keep it smooth on rounded forms and crisp on angular ones. For the basics, see our list of common beginner mistakes in pixel art.
8-bit pixel art of a wooden barrel on a white background.

Cast shadows and reflected light.

Cast shadows and reflected light make objects look as if they’re in the same space. A cast shadow falls from an object onto the ground or onto something next to it. Reflected light is the faint glow a lit surface bounces back into the shadow side of a nearby object.

A cast shadow anchors an object to the ground. With light from above, a small, flat shape under the object, or under a character’s feet, is enough. Draw it with a shade from the ramp of the surface it falls on: the shadow of a red box on green grass is dark green, not dark red.

Reflected light works the other way round. A figure standing on sunlit sand picks up a little warm light under its arms and chin, which in pixel art means one or two slightly lighter, warmer pixels inside the shadow, close to the edge. Use it sparingly, or the shadow side starts to look lit.

Dithering explained.

When you’re dithering pixel art, you place two colours in a regular or scattered pattern so that, at normal viewing distance, they blend into a tone the palette doesn’t contain. It pays off on large, gradual changes of colour and on rough textures, and it works least well on small sprites and anything that moves. Pixel artists use it to make a palette go further, not as their default way to shade.

Every dither is a pattern, and the pattern decides how much of each colour you see. The table below compares the four patterns you will see most often.
Pattern
Coverage
Effect
Best used for
Chequerboard
Half the pixels in each colour
An even mix that sits halfway between the two colours
The middle of a gradient, or a large area that needs a tone the palette lacks
Sparse grid
One pixel in four in the second colour
A light touch of the second colour over the first
The edges of a gradient, where one colour starts to give way to the next
Lines
Alternate rows or columns
A striped texture with a clear direction
Water, metal and bands of sky
Scattered
No fixed ratio
A grainy, irregular surface
Stone, sand, earth and foliage
Pixel art dithering earns its place on large gradients, such as a sky fading from deep blue to pale blue at the horizon, where a band of dithering between each pair of shades saves you adding lots of in-between colours. It also suits rough materials such as stone or a worn wall, and palettes of only a handful of colours, which rely on it to suggest tones they don’t have.

Leave it out of small sprites, where a pattern a few pixels wide just looks like noise, and out of anything animated, where it seems to flicker as the sprite moves. It’s also best avoided between two colours that are far apart in brightness, because the pattern stands out instead of blending.

Before you dither, ask whether one more shade in the ramp would do the job better: on a generous palette, it often would.
A coastal landscape built from halftone dots, with a dithered horizon under a moody sky.

Anti-aliasing in pixel art.

Anti-aliasing in pixel art is done by hand: you choose an in-between colour from your palette and place it, pixel by pixel, where a stepped line or curve needs softening. Used sparingly, it smooths shapes, but used everywhere, it blurs them.

An anti-aliasing pixel sits between the line and whatever lies next to it, so its colour should be roughly halfway between them in brightness, usually taken straight from an existing ramp. If no colour in the palette falls in between, leave the step alone rather than adding a colour for a single pixel.

Placement follows the steps of the line. Put one in-between pixel at the end of each step of three pixels or more, where the jump to the next row is most visible, and two at the end of the longest steps on shallow lines. Steps of one or two pixels need nothing: softening them only makes the line look thicker.

Keep the outer edge of a sprite hard. A game character moves across many backgrounds, so an in-between colour chosen for a blue sky turns into a stray halo against a dark cave. Soften the lines inside the sprite instead, and bear in mind that too much anti-aliasing takes away the sharp, deliberate look that makes it pixel art.

The automatic smoothing that drawing apps apply to brushes and text is a different thing. It blends every edge with partly transparent pixels, so switch it off when you draw. Our guide to using pixel fonts with text smoothing switched off covers the same setting for lettering.
A black-and-white halftone semicircle, with dots fading from dense to sparse.

Test your colour palette with Adobe Firefly.

A palette is easier to judge on a real picture than as a row of swatches. Adobe Firefly shows your colours on finished images, so you can test, compare and adapt a palette before you commit to it.

Name your colours in the prompt.

In Firefly’s AI pixel art generator, write a detailed prompt that names your subject and the few colours you plan to use, such as a forest cabin in slate blue, moss green and warm ochre, and generate. To test a warmer or cooler variant, change the colours in your prompt and generate again. Look at how each result spreads your colours between light and shadow, then build your own ramps from what works.

AI-generated pixel art of a turtle in blue and purple tones, with the prompt that names its neon palette shown on the image.
An AI-generated landscape of flowers by a river, with a style reference uploaded in Firefly Generative Match.

Borrow the colours of a reference.

Some palettes start from a picture, such as a photo you took of a winter shoreline. With Generative Match in Firefly, you upload that image as a reference, and Firefly applies its style, including its colours and textures, to the new images you generate from a prompt. Choose a reference that clearly shows the colours you want, and only upload images you have the rights to use.

Compare two palettes side by side.

With mood boards in Firefly Boards, you can gather colour swatches next to the images that inspired them, label each row with text such as “shadows” or “night version”, and line up two possible palettes to compare them directly. Boards is built for collaboration too, so a teammate can weigh in before you commit to a set.

A fashion mood board in Firefly Boards bringing together images and an array of colours, styles and textures.
A curved glass office building restyled in soft, glowing pastel colours, shown beside its reference photo under a blue sky in Firefly Image to Image.

Plan a night-time version of your scene.

Games and illustration series often show the same place at different times of day, each with its own palette. Upload your finished scene, or a sketch of it, to Image to Image in Adobe Firefly and describe the change you want to make, such as the same street at night under cool moonlight. Then adjust the Colour and Tone and the Lighting options. Firefly preserves the structure of the original, so you can compare the day and night colours area by area. Use the result as a colour guide, build a second palette with the same number of colours and swap it into your pixel art by hand.

You May Also Like

Pixel art styles explained

Learn what 8-bit, 16-bit and isometric pixel art really mean.

How to make pixel art

Follow a step-by-step tutorial to draw your first pixel art by hand.

Pixel art fonts and typography

Explore pixel fonts and how to use them in your designs.

Pixel Art: A Complete Guide

Turn a text prompt into retro-style pixel art with an AI pixel art generator.