Divoom team discussing product support

How to Turn a Smooth Gradient Into a Four-Step Pixel Art Shade Ramp

Written by Divoom Professional Team

Updated on

Choose the darkest and lightest usable colors from the gradient, then add two colors between them. Put the four colors in order in a row of touching swatches. Compare each pair as it will appear in the sprite. Change a weak middle pair before painting a larger area, then use the same four colors on one small object at the intended size.

A shade ramp is a short palette with an assigned order. Four swatches are enough to separate a deep shadow, a main shadow, a lit face and a highlight when each step has a purpose. The goal is four colors that you can tell apart under the conditions in which the artwork will be seen.

Choose endpoints by the role each color will play

Keep a copy of the source gradient and make a new scratch canvas. Look for a dark color that reads clearly against the intended background and a light color that has room to stand out. The extreme endpoint on a gradient is only one candidate. If it disappears into your background, move the dark endpoint inward. If the light endpoint is so bright that it dominates the sprite, choose a slightly more restrained light.

Place the dark and light swatches side by side. Make them large enough to inspect without zooming in and out. In a night icon on dark navy, for example, a near-black shadow may merge into the background. A slightly lighter blue can preserve a silhouette edge while leaving several steps between shadow and highlight. Try the same pair against the background you expect to use.

Set aside any outline or accent color you want outside the ramp. If an existing sprite uses an outline, choose whether that outline is one of the four shade colors or a separate part of the overall palette. That distinction keeps the ramp itself at four steps when you count colors later.

Choose two middle shades and test the adjacent pairs

Sample the gradient around one-third and two-thirds of its length as a starting point. Draw the four colors as flat adjacent blocks, dark to light. Ask whether the boundary between the first and second is as readable as the other boundaries. Keep the dark and light endpoints fixed for this pass and move the middle values until each border reads. Equal spacing along a digital gradient can produce visually uneven steps, especially when hue and saturation change as well as lightness.

An editor can generate candidate colors for the middle steps. The Aseprite palette gradient tutorial describes its Gradient and Gradient by Hue options. Generate candidates on a separate palette if useful, then keep just two intermediate colors. Your swatches are the acceptance check. If the two middles look too close at normal size, replace one color and compare all three adjacent boundaries again.

Four discrete blue values are selected and applied to a pixel cube.

A small grayscale preview can help reveal two colored swatches with very similar apparent lightness. Use it as a comparison and return to full color before choosing a final set. If gray values separate but the color still looks muddy beside the sprite background, adjust the color that fails in context.

Assign the four colors in one small test sprite

Use a compact object with a readable silhouette, such as a cube or a folded cloth shape. Place the darkest color where the object turns away from the light. Use the second color for most of the shadow face, the third for a lit plane, and the lightest in a small highlight. Broad flat groups make it easier to judge each shade than a scattering of individual dots.

Ramp position Test placement
1, darkest Small deep recess or lower edge
2, dark middle Main shadow plane
3, light middle Broad lit face
4, lightest Small focal edge or highlight

Check at actual artwork size. If the difference between colors two and three vanishes, try moving one of those two swatches. If the object reads flat even though the swatches separate, test a larger cluster for the shadow before changing color. A ramp problem can look like a shape problem until you compare both the four-block strip and the small sprite.

Keep the test palette and exported pixels consistent

In Aseprite, an indexed pixel refers to a palette entry, so changing that entry affects pixels that use it. RGB pixels carry their own values. If you replace a swatch in an RGB document, recolor the pixels you used or redraw the small test. The Aseprite color bar reference for palette indices is useful if you are managing the same four indexed colors over several sprites. Reserve a separate transparency entry where the document requires it.

Export a test copy and open it outside the editor. Keep the copy at the intended dimensions. Inspect the four swatches again or sample them with a color picker. If a smooth resize introduced intermediate edge colors, return to the native grid or use a pixel-preserving resize suited to the destination. For other unexpected differences, use these pixel art export checks for palette and scaling before changing the ramp.

Dithering is a separate design choice. A pattern alternating two colors can suggest a transition while still using the same palette entries, but it can also make a small icon noisy. Compare the flat four-step version first. Add a patterned transition only if the chosen art benefits from it.

Check whether the ramp survives the target display

Test the same small sprite and the four adjacent swatches on the output where you expect to use them. Compare at the usual viewing distance and brightness. If one pair merges only there, move one shade or enlarge the color cluster and export the test again.

The Divoom Pixoo-64 II has a 64-by-64 pixel display. It provides a concrete grid for checking a small cube and four broad adjacent swatches before committing to a larger design. Use the supported transfer route and confirm how the actual screen renders the four colors. When comparing hardware in the pixel display collection, verify the grid size and supported upload process for the exact model.

Divoom Pixoo-64Ⅱ WiFi 64x64 Pixel Art LED Display & Social Media Counter Divoom Pixoo-64 WiFi pixel art display with 64x64 LED panel. Social media counter, custom animations, clocks, and community art. App controlled frame. $113.99 USD $149.99 USD with code BF26PIXOO64 Buy now

A Mac-style workstation and lit black pixel display show a four-shade blue cube.

Keep a labeled palette strip next to the final artwork file. When you build a second sprite, start from the saved four colors. If the artwork changes background, run the pairwise comparison again to check that the silhouette and highlight still hold up.

For a quick revision pass, duplicate the test cube. In the first copy, leave all four colors unchanged and widen the shadow plane by one pixel. In the second, restore the original geometry and change only the light middle shade. Put those copies next to the original at the same size. If the wider plane reads better, the problem was primarily the shape. If only the new shade helps, keep the shape and update the swatch. This is especially useful for a dark face along a slanted edge, where a thin stair step can look like a broken tonal boundary.

FAQs About Making a Four-Step Pixel Art Shade Ramp

Do the shades need evenly spaced numbers?

No fixed interval is required. Start with reasonable spacing, then check each border in the sprite's background and at its real display size.

Can I change hue as the colors get lighter?

Yes. Keep the visual lightness progression readable. A cooler shadow and a warmer highlight can belong to one ramp if neighboring steps still separate.

Does transparency count as one of the four shades?

Treat transparency as a separate document function. The four ramp colors are the visible tones used to shade the object.

What if the lightest color overwhelms the sprite?

Shrink the highlight cluster or select a less intense light value. Compare those changes one at a time so you can see which one helped.

Can I reuse the ramp on a second device?

Use the same source colors as a starting point and verify on that device. Brightness, grid size and the rendering path can change how nearby shades appear.

Conclusion

Choose two useful endpoints, refine two intermediate colors and read all three boundaries at real size. Apply the four colors to one small object and open the exported copy. If a boundary disappears, adjust the specific pair or its pixel grouping and test again before expanding the artwork.

Disclaimer: This content is for general information only and is not professional or medical advice, a safety guarantee, or permission to use third-party intellectual property. Follow official product instructions and obtain any required permissions before attempting DIY projects or modifications.

Editor's Recommendation