Gradient Banding: How to Fix Visible Stripes in a Dark UI

A dark gradient can look smooth in the editor and turn striped after upload. Compare the design, a fresh PNG, and the uploaded image at the same size to see where the stripes begin.

Two dark dashboards side by side, with curved blue bands at left and a softer blue fade at right.
Illustrated before and after. The dashboard stays in place while the steps in the blue glow become less visible.

Find out where the stripes first appear

Gradient banding shows up as steps in a fade. Stretch a handful of near-black shades across a wide background and the edge between two shades can start to look like a stripe. Image compression can make those edges more noticeable.

  • Visible in the editor? Duplicate the design and confine the fade to a smaller area. Let the darkest color fill the rest of the background.
  • Visible in the download? Export a PNG and compare it with your JPG at the same dimensions. If both show stripes, view the same PNG on a second screen before editing. If the stripes appear there too, try a shorter fade in the original and export again.
  • Visible only after upload? Compare the published image with your local export. For a website, open the browser’s Network panel to see whether it’s serving a resized or recompressed file.
A navy ramp with eight flat steps above a smoother ramp with similar endpoints.
The upper ramp exaggerates the boundaries you’re looking for. In the lower ramp, the transition has softer edges.

Fix gradient banding in Figma or Canva

Figma

Duplicate the frame. In Fill → Gradient, pull the dark end of the gradient toward the glow so the fade finishes earlier. To test a different transition, add #101D33 between #243E68 and #080D18 in the duplicate. Compare both frames at the same zoom and keep the version with less visible banding. Figma’s gradient controls

In Figma’s export settings, set the width your layout needs and save a PNG to use as your reference.

Canva

Start with a solid dark page. Put the glow in a shape with an editable gradient fill and size it to cover only the area that needs light. To blend the shape into the page, try setting its last gradient color to the same hex value as the page background. Canva’s gradient controls

When comparing Canva’s download formats, use a PNG as your reference. Check the darkest edge of the glow first when you open the smaller JPG or WebP.

Build the fade in CSS if it’s only a background

For a web background, use a CSS gradient to skip image export and compression. Check it on the target display, since the rendered gradient can still show steps.

.dark-panel {
  background-color: #080d18;
  background-image: radial-gradient(
    ellipse at 82% 18%,
    #243e68 0%,
    #101d33 45%,
    #080d18 78%
  );
}

Lower 78% to end the glow sooner and leave more of the panel solid. To tune a straight fade, adjust the stops in the Eggradients gradient maker. MDN explains how stop positions and interpolation work in CSS gradients.

Use dithering when the gradient has to be an image

When a glow is baked into artwork, make a fresh export from the editable original. Dithering mixes neighboring tones across the boundary so your eye sees a softer transition. Photoshop provides a Dither option for gradients. Check the final export at its intended size. Heavy compression can erase the fine variation you added.

Two pixel grids labeled Hard Edge and Dithered Edge show a straight color boundary and a staggered one.
Left: the tones meet along one straight line. Right: interleaved pixels spread the change across several columns, making the boundary less visible at normal size. The colors are exaggerated to show the pattern.

Keep the glow away from small text

After smoothing the gradient, check the background directly beneath the text at desktop and mobile widths. A headline that wraps on mobile can reach a brighter part of the background. For normal-sized text, WCAG’s AA minimum is 4.5:1. Sample the least favorable color behind the lettering and test it with the Eggradients color contrast checker. If the background keeps changing beneath the text, move the glow or add a solid backing. The W3C contrast technique explains how to handle varying backgrounds.

Two app headers show the same white text over a bright cyan glow on the left and over dark navy on the right.
On the left, the small status line fades into the cyan glow. On the right, moving the glow toward the edge leaves a darker background behind the same text.

Show the fix in a UX portfolio

Put two crops of the same screen side by side at the same size. In the caption, say where the stripes first appeared and what fixed them. That gives hiring managers a quick look at how you diagnose a visual problem and check the result.

If you’re job hunting in Chicago, browse entry level ux designer jobs to see which skills local teams ask for. If a listing mentions accessibility, include a note on how you checked text contrast in your redesign.