Guide
Fixing grainy GIFs: palette, dithering, and color
Why GIFs look speckled or banded
Every frame of a GIF can hold at most 256 distinct colors. A live-action video or a smooth sky gradient contains thousands of shades, so the encoder has to approximate them. When it picks the nearest flat color, smooth gradients break into stair-step stripes called banding. When it scatters dots of nearby colors to fake the missing shades, you get dithering—which looks smoother from a distance, but can add visible grain and make the file larger.
Balancing palette size and dithering in YUIgif
YUIgif lets you tune both the palette and dithering behavior before you press Make my GIF. Use a full palette when your source has skin tones, photography, or soft lighting. Lowering the color count shrinks file size quickly on flat artwork, icons, or dark-mode UI captures where only a handful of colors appear on screen.
On gradients and video clips, light dithering hides harsh bands without turning flat backgrounds into moving static. On crisp screen recordings or pixel art, reducing dithering keeps solid backgrounds clean and cuts wasted bytes between frames.
See the difference: 256 vs 32 colors
Both stills below were made from the same sunset test image with the palette and dithering filters YUIgif uses. The 256-color version keeps the sky smooth. At 32 colors the gradient has to be faked with scattered dots, which you can see around the sun, but the file is about a third smaller.


See the difference: Smooth, Pattern and None dithering
To make dithering easy to see, these three use only 16 colors. Smooth hides banding with fine noise, Pattern uses a regular grid that compresses better, and None gives flat stripes but the smallest file. On real exports with 128 or 256 colors the effect is much subtler.



Using color effects and checking the real export
Under Crop, color & motion, YUIgif includes built-in color effects: Original, Grayscale, Sepia, Vivid, Warm, Cool, and Invert. Switching a noisy, low-light clip to Grayscale or Sepia can dramatically improve perceived sharpness because all 256 palette slots go toward tonal steps instead of competing hues.
Remember that the Design canvas only previews the first frame in full browser color. Always switch to the Result tab after exporting to inspect the actual quantized palette in motion. If size is still too high after tuning colors, pair it with the steps in the smaller GIF guide.