My previous question was closed as a duplicate, but I found now the real answer to the problem.
So the original question, I wanted to know why the hex colors and viewbox on my .SVG icons seemed to preventing them from showing. I had been using base64, and I decoded the base64 so that I could ask the question easier, including the following fiddle (code included below for completeness). The first icon shows, the second not.
It was suggested that the hex colors needed to be escaped with a %23. And the question was closed as being a duplicate for this reason. I could not work out how to remove the duplicate question marking, so I have created this new question to share my discovery with my own answer.
https://jsfiddle.net/pqh0n1mw/1/
var can = document.getElementById('canvas1');
var ctx = can.getContext('2d');
ctx.scale(2, 2);
var img1 = new Image();
img1.src = 'data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><rect stroke="none" fill="rgb(255, 38, 0)" x="0" y="0" width="32" height="32" /><path stroke="none" fill="rgb(250, 250, 250)" d="M 0,8 L 8,8 8,-0 12,-0 12,12 0,12 0,8 Z M 0,8" /><path stroke="rgb(255, 255, 255)" stroke-width="3" stroke-linecap="round" stroke-miterlimit="10" fill="none" d="M 1.5,1.5 L 17.5,17.5" /></svg>';
ctx.drawImage(img1, 10, 10);
var img2 = new Image();
img2.src = 'data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect fill="#FF2600" width="32" height="32"/><path fill="#FAFAFA" d="M0,8 8,8 8,-0 12,-0 12,12 0,12 Z"/><path stroke="#FFFFFF" stroke-width="3" stroke-linecap="round" stroke-miterlimit="10" fill="none" d="M1.5,1.5 17.5,17.5"/></svg>';
ctx.drawImage(img2, 42, 10);