Is the space savings of using a custom base83 encoding really worth it when modern browsers can natively support base64 image encodings?
Why not just downsample the original image to 10x10 jpg and encode it as base64 so it can be directly used in an <img> without blocking your main JS thread to decode the image? Apply css blur if you like the soft gradient effect.