I have an inline SVG image I use as a background, a simlified example is below:
div {
width: 100%; height: 500px;
color: green;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><path d='M0 0 H 100 V 100 H 0 Z' fill='currentColor'></path></svg>");
}
https://jsfiddle.net/wjqkL07p/3/
The problem is that the image doesn't inherit the currentColor and is black when I expected it to be green. Any idea?