I would like to know how to make a dynamic monocolor favicon with a different background color. How it's possible covert a canvas element to favicon?
var c=document.getElementById("favicon");
c.width = 16;
c.height = 16;
var context=c.getContext("2d");
context.fillStyle = "<?php echo $color; ?>";
context.fillRect(0, 0, 16, 16);
context.fill();