title: Is it possible to replace a color in a base 64-encoded image?
body: <p>Is there any way to take a base 64 string, for example:</p>
  
  <pre><code>.copyIcon {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAW0lEQVR42mNgQALCi7//J4QZcAFiNOM1hJANBA0h1QC83iHFizDJ/dgww/7/LAQNwKUZbkjDfya8YQZXiCqJagilBmAzhLYGYDNsJBhAMD3gS854NS/6vg+fZgDKvmW19S7PRAAAAABJRU5ErkJggg==") center center no-repeat;}
  </code></pre>
  
  <p>And replace a solid color with another solid color using JavaScript?</p>
  
  <p>In this specific example I have a solid color in the icon (<code>#13A3F7</code>) that I would like to replace with another solid color (<code>#ff6400</code>).</p>
  
  <p>The reason for doing this is it is not a one-off. I would like to be able to change the icon to <em>any</em> color with a setting.</p>
  
  <p>Is there any way I can do this?</p>