Choosing a Pixel Art Style for Your Game
Pixel art is a set of decisions, not one look. Pick the sprite size, the canvas resolution and the palette first, then hold every asset to them.
Key takeaways
- Decide the character sprite size (16, 32 or 48 pixels) and the base resolution together; they set how detailed everything else can be.
- Use a limited palette, often 16 to 32 colors, and a consistent light direction and outline rule.
- Scale by whole numbers with nearest-neighbor filtering, or pixels turn blurry and uneven.
- Write the style down as a short spec and check every new asset against it.
Choosing a pixel art style comes down to three decisions: how big your main character is in pixels, what low resolution the whole game is drawn at, and how many colors you allow. A 16 pixel hero on a 320 by 180 canvas with a 16-color palette gives a chunky, retro look that is quick to draw; a 32 to 48 pixel hero on 480 by 270 or 640 by 360 with 32 or more colors allows expressive animation and detail. Pick these first, then keep every sprite, tile and font to the same rules.
Decision 1: the character sprite size
The player character sets the scale of everything. Tiles, enemies, items and text are all sized relative to it.
- 8 to 12 pixels: extremely abstract. A head, a body, a hint of direction. Great for tiny arcade and puzzle games, and very fast to produce. Readability comes from color and silhouette alone.
- 16 pixels: the classic handheld and early console scale. Room for eyes, a weapon, a simple walk cycle of 4 frames. The most forgiving size for beginners.
- 24 to 32 pixels: the sweet spot for many modern indie games. Faces can show expression, animations can be smooth with 6 to 8 frames, and gear is visible.
- 48 to 64 pixels and up: detailed fighters and showcase art. Beautiful, but each frame takes much longer, and inconsistency becomes obvious.
Animation cost grows quickly with size. A 32 pixel character with idle, run, jump, fall, attack and hurt animations might need 30 to 40 frames. At 64 pixels, each of those frames is four times the area. Small teams should usually choose smaller sprites and spend the saved time on more animation frames, which do more for feel than extra detail. AI-generated images for apps covers how far generation can go for sprites and tiles.
Decision 2: the base resolution
Pixel art games render at a low internal resolution and scale up to the screen. Choosing one that divides evenly into common displays avoids uneven pixels. Useful 16:9 choices:
- 320 by 180: scales by 4 to 1280 by 720 and by 6 to 1920 by 1080. Very chunky; a 16 pixel character is about a tenth of the screen height.
- 384 by 216: scales by 5 to 1920 by 1080. A little more room.
- 480 by 270: scales by 4 to 1920 by 1080. Comfortable for 24 to 32 pixel characters.
- 640 by 360: scales by 2 to 1280 by 720 and 3 to 1920 by 1080. Detailed, closer to "high-res pixel art".
Phones complicate this: screen sizes and aspect ratios vary, and players may hold the device either way. A common approach is to fix the height (say 180 or 270 pixels), let the width extend to fill the screen, and scale by the largest whole number that fits, adding a small border or extra world view if needed. Check what your touch controls and HUD need on narrow portrait screens too.
Decision 3: the palette
A limited palette is what makes pixel art cohesive. Many artists start from a published palette (the community has dozens of well-loved ones with 8 to 64 colors) rather than picking colors freely. Guidelines:
- Size: 8 to 16 colors for a strong retro look, 32 for flexible modern work, 64 if you need many distinct environments.
- Ramps: organize colors into ramps from dark to light, each with 3 to 5 steps. Shift hue along the ramp (shadows cooler and more saturated, highlights warmer) instead of only changing brightness. This "hue shifting" makes art look rich instead of muddy.
- Reserve colors for meaning: keep one bright, saturated color for hazards or interactables, and do not use it in decoration.
- Contrast for gameplay: characters and platforms need stronger contrast than backgrounds. A common trick is to give backgrounds a narrower, desaturated part of the palette.
Outlines, shading and light
The remaining choices define the character of the style. Decide them once:
- Outlines: black outlines read clearly on any background and suit cartoon styles. Colored outlines (a darker shade of the fill) look softer. "Selective" outlines, darker on the shadow side and lighter on the lit side, look polished but take more work. Many games outline characters and items but not tiles, which helps the playable things pop.
- Light direction: pick one (top left is a common default) and use it on every asset.
- Shading depth: flat colors with one shadow tone, or full ramps with highlights. Fewer tones are faster and often more readable at small sizes.
- Anti-aliasing and dithering: manual anti-aliasing smooths curves on larger sprites; dithering creates gradients with patterned pixels. Both are optional; using them inconsistently looks worse than not using them.
Keeping pixels crisp in a browser game
- Nearest-neighbor filtering: set textures to nearest filtering (in PixiJS, the scale mode called nearest). Linear filtering blurs pixel art.
- Integer scaling: scale the game canvas by whole numbers. At 2.5 times, some art pixels become 2 screen pixels wide and some become 3.
- Round positions: snap sprite and camera positions to whole art pixels when rendering, or sprites shimmer as they move. Keep the real position precise for physics and round only for drawing.
- Pixel fonts: use a pixel font designed for your size, rendered at its native size times your scale. Smooth fonts next to pixel art look out of place.
Startbase 2D games run on PixiJS, so these settings apply directly. For game screens, the UI Editor has a Pixel starter theme and a Pixel category in its font library, and its 9-slice Skin option lets you frame panels and buttons in a pixel-art border that keeps its corners sharp at any size.
Write a style spec, then hold to it
Consistency is the whole game in pixel art. A short spec, written before any art, prevents drift between assets made weeks apart or by different hands (or generated by different prompts). Whether you draw the art, commission it or generate it, give every asset the same rules:
Set up my 2D game for pixel art. Base resolution 384x216, scaled by whole numbers with nearest-neighbor filtering and camera positions rounded to whole pixels. Style spec: player 24 px tall, tiles 16x16, a 32-color palette with hue-shifted ramps, 1 px dark colored outlines on characters and items only, light from the top left, one shadow tone per color, no dithering. Hazards are the only magenta things in the game. Use a pixel font at native size for all UI. Generate the player, two enemies and a forest tileset that follow this spec, and save the spec in the design doc.
In the World Editor, Make one creates a sprite in the game's art style from a sentence, so a written spec in the design doc gives it a consistent target. Review every new asset against the spec anyway: check its size in pixels, count its colors, and look at it next to the player character at game scale.
Common pixel art mistakes
- Mixed pixel sizes, from scaling different assets by different amounts.
- Blurry scaling from linear filtering or non-integer scale.
- Pillow shading: shading from the outline inward on all sides, which ignores the light direction and looks flat.
- Too many colors in one sprite, often from gradients or imported art.
- Detail that does not read at game size. Always judge sprites at 1x scale next to each other, not zoomed in.
If you are not committed to pixels, compare with our guide to low-poly 3D art, which suits small teams for similar reasons. Either way, a narrow, consistent style beats an ambitious inconsistent one. Pixel art suits many first projects; the metroidvania guide and the RPG guide both use it.
Frequently asked questions
What resolution should a pixel art game use?
Common 16:9 base resolutions are 320x180, 384x216, 480x270 and 640x360, because they scale by whole numbers to 1280x720 or 1920x1080. Choose based on your character size: smaller characters suit lower resolutions.
What size should pixel art sprites be?
16 pixels is the classic, beginner-friendly size; 24 to 32 pixels allows more expression and smooth animation; 48 pixels and up looks detailed but costs much more time per animation frame.
How many colors should a pixel art palette have?
Many games use 16 to 32 colors. Fewer colors give a stronger retro look and make consistency easier, while 32 to 64 colors allow more varied environments.
Why does my pixel art look blurry in the browser?
The game is probably using linear texture filtering or scaling by a non-whole number. Switch textures to nearest-neighbor filtering, scale the canvas by integers and round sprite positions to whole pixels when drawing.

