Pixel art outline styles
A pixel art outline is a line one pixel wide around a sprite, and sometimes inside it, that separates it from the background. There are four common styles: no outline, a dark silhouette, a dark silhouette with inner lines, and selective outlining (selout), where each line takes a dark shade of the colour it borders. The style decides how readable a sprite is in the game.
The four outline styles
Below is the knight from the free library rendered four times by Pixor on a grass colour, with only its lines changed:

| Style | Lines | Reads on busy backgrounds | Look | Good for |
|---|---|---|---|---|
| No outline | none | poorly | soft, painterly | scenery, tiles, large detailed art |
| Dark silhouette | outer edge, near-black | well | bold, clean | small characters, pickups, UI icons |
| Dark silhouette and inner lines | outer edge and part edges | well | cartoon, graphic | characters with many parts, comic styles |
| Selout | each edge a dark shade of its part’s colour | fairly well | soft but defined | most modern pixel art, lit sprites |
A game usually mixes two: an outline on what the player acts on, none on the scenery. Eyes are the exception on every style: a small eye is drawn flat, with no line of its own around it (pixel art eyes).
Outline or no outline?
Outline a sprite when it has to read against busy or similar-coloured backgrounds, when it is small (16 to 32 pixels tall), or when the game’s style is bold and cartoon-like: the line separates the character from the world at a glance. Leave the outline off, or keep only a coloured one, when the art is detailed and painterly, when sprites sit on plain backgrounds, or for things that belong to the ground (tiles, rugs, puddles), which look pasted on with a dark border. Many games mix both: an outline on characters and pickups, none on the scenery, so what the player can interact with stands out.
The three kinds of line
- Silhouette. The outer edge, where the sprite meets the background. It does the most work: a sprite with a clear silhouette reads even as a single colour.
- Inner lines. Edges between parts inside the silhouette: an arm in front of the body, a belt across a tunic, a helmet over a face.
- Creases. Folds and sharp turns within one surface: the ridge of a nose, a pleat in cloth, the edge of a box.
Most artists treat these differently. The silhouette is often the darkest and most complete. Inner lines are lighter or partial. Creases are often left out, with shading doing the work instead.
Dark or coloured
A near-black line round everything is bold and readable, and suits small sprites and busy backgrounds. A pure black can look harsh, so many artists use a very dark colour from the palette instead, such as a deep blue or brown.
Coloured lines take the colour from the shape they sit against: a dark red line on a red cloak. Taken further, with lines that lighten on the lit side, this becomes selout.

The outline against the background
An outline is there to separate the sprite from what is behind it, so judge it on the game’s real background, not on a white canvas:
- Dark backgrounds (caves, night, space) swallow a dark outline. Use a coloured or lighter line, a selout that lightens on the lit side, or a rim of light on the sprite’s edge.
- Busy backgrounds (grass, crowds, patterned floors) need a strong, continuous dark line.
- One rule for each layer. Outline what the player acts on (the hero, enemies, pickups) and leave the scenery without, or with lighter lines, so the eye finds what matters.
Outlines in animation
A line that changes from frame to frame flickers. Keep the silhouette line continuous as the sprite moves, let inner lines come and go only where a part really passes in front of another, and check a walk at play speed: a pixel of line that appears for one frame reads as noise.
An extra ring outside
A second ring outside the outline, often white or yellow, makes a sprite stand out on any background: a pickup that must be seen, a selected unit, a sticker, a hit flash. It is a game-side effect as much as art, and many engines draw it with a shader. Keep it out of the frame’s edge, or it is cut off.
Common mistakes
- Lines two pixels thick. At small sizes a double line eats the sprite. Lines should be one pixel.
- L-corners. When a line changes direction, a corner pixel that touches both neighbours makes an L and looks thick. Step diagonally.
- Broken thin parts. A sword blade or staff one pixel wide can break into dots if drawn carelessly. Keep it as a continuous one-pixel line.
- Outlining every crease. Too many inner lines turn a sprite into a wireframe. Let shading carry small details.
- Inner lines as dark as the silhouette. The shape stops reading as one object.
How to do it by hand
- Fill the sprite’s shape in one flat colour and check the silhouette alone.
- Draw the silhouette line, one pixel wide, with no L-corners.
- Add inner lines only where parts overlap and could be confused.
- Shade, then add creases only where shading is not enough.
- Decide on dark or coloured lines and apply it everywhere.
How Pixor does it
Pixor finds lines from the render’s depth, normals and part ids, and keeps the kinds apart. Under Lines in the Style:
- Silhouette, the outline around the whole sprite; Inner, where one part overlaps another; Creases, at sharp folds within one part. Each is None, Dark (the darkest shade) or Selout 1 to Selout 3, that many steps down the colour’s own ramp, so a red cape gets a dark-red line.
- Convex edges draws a light line on folds that bulge towards you, going up the ramp instead of down.
- Dark line colour sets the colour of Dark lines with an automatic palette; a fixed palette uses its darkest colour.
Lines are always one pixel wide, never form L-corners and never cross from one part to another; thin parts of the model are kept as one-pixel lines, and lines that appear for only one frame are cleaned up. The Line weight node in the Style graph adds rings outside the outline, in its own colour with Own colour on: the white outline tutorial shows it. On the command line, --outer and --inner set the first two; the four knights above are none none, dark none, dark dark and selout2 selout1:
pxr render knight.glb --preset clean --size 48 --clip none --outer selout2 --inner selout1 -o knight.png

Related
Questions
What are the pixel art outline styles?
No outline; a dark silhouette line only; a dark silhouette with dark inner lines between parts; and selective outlining (selout), where each line is a dark shade of the colour it borders. Some games add a fifth, a light or white ring outside the outline for pickups and selected units.
Should pixel-art sprites have outlines?
Most small sprites benefit from at least a silhouette line, so they read against any background. Larger art can drop outlines and rely on shading.
Black or coloured outlines?
Black is bold and readable. Dark coloured lines, or selective outlines, look softer. Choose one style for the whole game.
What is an L-corner?
Where a line turns, an extra pixel in the corner makes an L shape and thickens the line. Clean pixel lines step diagonally instead.
How thick should a pixel art outline be?
One pixel, for nearly all sprites. A two-pixel line eats a small sprite. The exception is an extra ring outside the outline, often white, to make a pickup or a selected unit stand out.
What colour should a pixel art outline be?
The darkest colour of the palette, often a near-black blue or brown rather than pure black, or a dark shade of each part's own colour (selout). Lighter lines inside the sprite, darker ones round it.