Dithering with custom palette (for real)