How to Fix Color Banding in Converted Images
That weird striped look in your gradients? It's color banding. Here's why it happens and what actually works to fix it.

You convert an image with a beautiful blue sky gradient, and suddenly it looks like someone painted it with a highlighter set. Distinct horizontal stripes instead of that smooth, seamless transition from light to dark. That's color banding, and it's probably more common than you think—especially if you're converting images between formats or dealing with compression.
Here's the thing: color banding isn't a sign your converter is broken. It's what happens when an image loses color information it can't actually store anymore. And the good news? You can prevent it. Sometimes you can even fix it. But first, you need to understand what's actually happening in your file.
What Is Color Banding, Actually?
Imagine you've got a gradient that needs to smoothly transition through a billion shades of blue. Your original image file can represent all of those colors with precision. But when you convert it to a format with fewer available colors—like an indexed-color PNG, or compress it with a lossy format—the converter has to pick which colors to keep and which to throw away.
When you lose too many colors from that gradient, the transition becomes obvious. Instead of a smooth fade, your eye sees distinct bands of color. It's particularly visible in sky gradients, skin tones, and any area where there should be a really subtle transition.
This is especially noticeable when you convert from a high bit-depth to a lower one. Moving from 24-bit (16.7 million colors) to 8-bit (256 colors) is a dramatic drop. Your converter has to pick just 256 colors from millions of options, and smooth gradients are the first casualty.
Why Conversion Creates Banding
Most image conversions don't just change the format—they often change the color depth too. Here's what's happening under the hood:
- Lossy compression (JPEG, WEBP at lower quality) throws away color data to reduce file size. Gradients are hit hardest because subtle color shifts get discarded.
- Color space conversion can introduce banding when converting from RGB to indexed color or from one color profile to another without proper dithering.
- Bit-depth reduction (24-bit to 8-bit, for example) forces the converter to quantize colors, meaning it has to pick a specific palette and approximate everything else.
- Poor dithering settings or no dithering at all during conversion means the color loss is visible as distinct steps rather than a random pattern.
The real problem: most online converters and some desktop software don't apply proper dithering or error diffusion when they quantize colors. They just pick the closest available color for each pixel, which creates those visible bands.
Prevention: The Best Medicine
So how do you avoid this mess? Prevention is 100% easier than fixing it after the fact. Here's what actually works:
Use 24-bit color depth. If you're converting to PNG, use 24-bit RGB or 32-bit RGBA, not indexed color. Yes, the file will be slightly larger, but you'll preserve all your colors and avoid banding entirely. Most modern images need that color depth anyway.
Keep JPEG quality high. If JPEG is your target format, don't go below 85% quality. At that level, you're still compressing, but gradient banding becomes much less visible. At 90% and above, it's almost non-existent. Use a converter that lets you control JPEG quality—it makes a real difference.
Apply dithering during conversion. If you absolutely must reduce to 8-bit indexed color (rare these days, but it happens), make sure your converter applies Floyd-Steinberg dithering or similar error diffusion. This breaks up the banding by adding a subtle random pattern that your eye perceives as a smoother gradient.
Avoid aggressive color reduction. Some converters let you pick how many colors to use. Anything below 128 colors will show banding in most gradients. Keep it at 256 or higher if you go the indexed-color route.
Fixing Banding in Already-Converted Images
If you've already got a banded image and you don't have the original, you can't restore the lost color data. But you can make the banding less obvious.
Add subtle noise. This sounds weird, but adding a tiny bit of grain or dither to the image breaks up the visible bands. Your eye perceives it as a smoother gradient because the noise fills in the visual gaps. You don't want to make it grainy—just enough to disrupt the band patterns.
Use a noise filter. Most image editors have an "Add Noise" filter. Set it to extremely low opacity (under 1-2%) and apply it selectively to the areas with banding. This is damage control, not a cure, but it works.
Posterize selectively. Wait, posterize more to fix posterization? Counterintuitive, but sometimes reducing the color palette intentionally (to a level that looks almost intentional) looks better than obvious banding. It's a stylistic choice, but it can work.
Re-convert from the original. If you still have your source file, re-run it through a better converter with proper settings. Higher bit-depth, better compression settings, dithering enabled. This is the nuclear option but it actually works.
Format Recommendations to Avoid Banding
Not all formats are created equal when it comes to gradients:
- PNG (24-bit or 32-bit) is your safest bet. Lossless, preserves all colors, no banding. Slightly larger files but zero quality loss.
- TIFF is essentially PNG's professional cousin. Even better for archival, but rarely needed for web.
- WEBP (high quality, 90%+) can handle gradients without banding and still compress smaller than JPEG. Worth using if your platform supports it.
- JPEG (90%+ quality) is acceptable for photos, but gradients and skies can show banding. Use it for photos with natural color variation, not illustrations.
- GIF (indexed color) will definitely show banding unless you're okay with a posterized look. Use it for graphics and illustrations where color reduction is intentional, not for photos.
The pattern? Use lossless formats (PNG, TIFF) for anything with gradients. Use high-quality lossy formats (JPEG 90%+, WEBP 90%+) if you need smaller files.
The Real Lesson
Color banding isn't something to fear or blame your converter for. It's just what happens when you try to fit an image with millions of colors into a smaller box. The solution is simple: give your converted image enough color capacity to do the job right.
Use 24-bit PNG. Keep JPEG quality high. If you need the smallest possible file, use WEBP. And if you're converting something with lots of gradients—like a sky photo, a sunset gradient, or anything with subtle color transitions—think about your format choice before you hit convert. A few seconds of planning beats hours of trying to fix banding artifacts later.