How to make pixel art
Pixel art is drawing where every square counts. You work on a tiny grid, place each pixel on purpose, and then scale the finished image up by whole numbers so the squares stay sharp.
Pick a canvas size
Smaller is easier. A 16×16 grid forces simple, readable shapes and is a good first size. 32×32 gives room for faces and expressions. 64×64 and up start to feel like ordinary digital painting and take far longer.
| Canvas | Pixels to place | Good for |
|---|---|---|
| 8 × 8 | 64 | Tiny icons, items |
| 16 × 16 | 256 | Characters, tiles, favicons |
| 32 × 32 | 1,024 | Detailed sprites, portraits |
| 64 × 64 | 4,096 | Scenes, large characters |
Any program that can zoom in and draw single pixels with the pencil tool works. Turn off anti-aliasing and brush smoothing so each click sets exactly one pixel.
Clean lines
A straight line in pixel art is a staircase. It looks smooth when its steps follow a steady pattern, and ragged when they do not.
- Good: steps of 1-1-1 (a 45° line), 2-2-2, 3-3-3, or a repeating pattern such as 2-1-2-1.
- Ragged: 2-1-3-1-2. The eye reads the uneven steps as bumps, often called “jaggies”.
For curves, let the step lengths change gradually: 3, 2, 2, 1, 1 going round a bend, then back up on the other side. A sudden jump from 4 to 1 makes a visible corner.
Also watch for doubles: a pixel that touches the line both sideways and diagonally, which makes the line look thick in one spot. Remove it so each pixel connects to the next at a corner or an edge, not both.
A small palette
Classic pixel art uses few colors, and the limit helps. A sprite can look complete with four to eight. For each material, pick a base color, one or two darker shades for shadow and one lighter tint for highlight. Let the shadow shift a little in hue, toward blue or purple, and the highlight toward yellow. This “hue shifting” looks richer than adding plain black and white.
Shading and dithering
Choose one light direction, such as top left, and keep it for the whole image. Shade the side away from it. Where two shades meet, you can mix them with dithering: a checkerboard of the two colors that the eye blends at normal size. Use it sparingly on textures such as sand or stone. Large dithered areas look noisy.
A selective outline, darker on the shadow side and lighter or missing on the lit side, makes a sprite look less like a cut-out sticker.
Scaling up without blur
A 32×32 drawing is tiny on a modern screen. Scale it by a whole number with nearest-neighbour sampling, so each pixel becomes a crisp block.
Example. A 16×16 sprite at 8× becomes 128×128. Each original pixel turns into an 8×8 block of 64 identical pixels. At 7.5×, blocks would have to be 7 or 8 pixels wide, and the image would look uneven.
On a web page, tell the browser not to smooth the image when it stretches it:
img.pixel { image-rendering: pixelated; width: 256px; height: 256px; }
Save in the right format
Save pixel art as PNG (or GIF for simple animation). Both are lossless, so every pixel stays exactly as placed. JPEG blurs hard edges and adds stray colors around them. Small PNG sprites are also tiny files: a flat, few-color 32×32 sprite often takes only a few hundred bytes, far below its 4,096-byte uncompressed size at 4 bytes per pixel.
Step by step: your first sprite
- Set up a 16×16 canvas and zoom in so each pixel is easy to see.
- Block in the silhouette with one dark color. Check that it reads clearly as a solid shape.
- Fill in base colors for each area.
- Add one shadow shade on the side away from the light.
- Add one highlight on the lit edges.
- Clean lines: remove doubles and even out the step patterns.
- Export as PNG, then make an 8× copy for sharing.
Questions people ask
Should I trace a photo?
For learning, it helps to study shapes, but traced pixels are usually messy. Redraw the simplified shape by hand instead.
Can I resize pixel art by 150%?
You can, but some pixels will become one block wide and others two, which looks uneven. Use whole-number scales: 2×, 3×, 4× and so on.