Choose roles before choosing hex codes
Begin with the scene your sprite must inhabit. A forest character against dark foliage needs different separation from a pale object on a bright menu. Write down a few roles: deepest structural dark, main shadow, local material color, lit surface and a small accent. These roles describe relationships. They do not require exactly five colors in every finished piece.
For a first exercise, limit yourself to five swatches so that every addition needs a reason. Use the darkest color to separate important overlaps, not to outline every surface automatically. Let the accent identify something worth noticing, such as a face, a collectible or an active state. Repeating the accent everywhere removes that hierarchy.
Example roles, left to right: ink, shadow, leaf, light and signal. Test them in your actual artwork before adopting them.
Separate value before adding variety
Value describes how light or dark a color appears. Two colors can have visibly different hues yet become nearly indistinguishable in grayscale. On a tiny sprite, that can erase the separation between an arm and a body. Temporarily desaturate a duplicate or use your editor’s grayscale preview to inspect the important masses.
Do not assume that equally spaced slider values create equally clear visual steps. Color models differ, and saturation affects perceived brightness. Place swatches next to one another at the same small sizes you will use in the art. Judge the dark-to-light order on those shapes, not only on a large color picker.
Grayscale is a diagnostic, not a promise of accessibility. If color communicates an interactive state or instruction, provide an additional cue such as a symbol, label or shape change. For interface text, use an actual contrast calculation against its background. The WCAG 2.2 guidance is relevant to readable interfaces; it is not a rule that every pair of artistic swatches must meet a text contrast ratio.
Use hue shifts to describe the light
A shadow does not always need to be a darker copy of the base color. A warm light and a muted green shadow can make the same material feel more convincing than a mechanically darkened ramp. Keep the change connected to the lighting idea. Shifting every shadow in an unrelated direction can make the sprite look assembled from different scenes.
Make the smallest useful shift, then compare it with an unchanged version. If the form becomes harder to read, restore value separation before adjusting the hue again. Hue shifting is a tool for creating relationships, not a mandatory decoration for every ramp. Neutral shadows can be the better decision in a restrained design.
Share colors across materials carefully
A shared dark can unify wood, cloth and foliage in one sprite set. That reduces the palette and makes later revisions easier. It also creates a trade-off: if neighboring materials share too many values and edge patterns, they may merge. Distinguish them through shape language, cluster size and selective highlights before adding several near-duplicate colors.
Build a small contact sheet containing a character, a prop and a patch of background. View them together at native size. A palette that looks rich on an isolated character may lose its hierarchy when placed into a scene. Reserve your most forceful contrast for the parts that should attract attention, and allow less important surfaces to remain quieter.
Test effects and transparency separately
Transparency can create colors that are not obvious in the palette panel. A semi-transparent edge looks different over pale sand than over deep foliage. Pixel art often benefits from fully opaque edge pixels and fully transparent empty space, but that is a deliberate style choice rather than a requirement for every asset.
Check the exported PNG on at least two contrasting backgrounds. Look for accidental partially transparent pixels left by soft erasers, transformed layers or selection feathering. If you use intentional translucent effects, test them in the destination renderer. The editor’s checkerboard is not a substitute for the real compositing environment.
Document a palette you can reuse
Save a named swatch file where your editor supports it, plus a plain-text note listing color codes and intended roles. Record whether the project uses sRGB and keep profile handling consistent between source and export. Converting between profiles without understanding the destination can change the appearance you carefully established.
Do not claim ownership over someone else’s distributed palette or assume that a download is unrestricted. Keep its creator, source URL and applicable license with the project. A useful palette library contains context, not just hundreds of anonymous files. Start with one tested set, make a small piece and revise based on what the piece actually needs.