>As you probably know, GIF is limited to a palette of 256 colors.<p>No, it's not. OK, the current, wrong, implementations do limit it to 256 colors, but that's not a limitation of gif. Mulitple frames without a delay allow multiple pallets and multiple times 265 colors.<p>But this limitation is just another reason not to use it.<p>Can I use Webm?<p><a href="http://caniuse.com/#feat=webm" rel="nofollow">http://caniuse.com/#feat=webm</a><p>Yes, you can, and you should. Or h.264:<p><a href="http://caniuse.com/#feat=mpeg4" rel="nofollow">http://caniuse.com/#feat=mpeg4</a>