Reduce Image Colors
Reduce an image to a palette of 2 to 64 colors. Compare no dithering, Bayer or Floyd–Steinberg, copy the palette and download your image.
Compare Dithering on a Color Strip
Reduce Image Colors: how to use it
- Choose an image or load the color-strip example.
- Choose a target color count and dithering method. Reduce colors to see the compared images and the hex colors used by the result.
- Copy the palette if needed and download PNG for exact mapped colors. JPG and WebP are also available.
Limits and notes
Use one image up to 25 MB, 8 megapixels and 6,000 pixels per side. Supports still JPG, PNG, WebP and BMP, plus the first frame of a GIF or the first page of a classic TIFF. Pixels are processed in your browser.
How your privacy works →Reduce Image Colors: common questions
Can the result contain fewer colors than I select?
Yes. The target is an upper limit for visible RGB colors. A source with fewer distinct colors may use a smaller palette.
How do the two dithering methods differ?
Bayer uses a repeating four-by-four pattern. Floyd–Steinberg passes the color error from each mapped pixel to nearby pixels that remain to be processed.
How do I keep the exact palette in the file?
Export PNG. The PNG preserves the visible mapped RGB colors and the source opacity. JPG and WebP compression can change the colors in the download.