V
V
Vladyslavislove2019-07-25 13:41:06
SVG
Vladyslavislove, 2019-07-25 13:41:06

How to use fill in such svg?

I pulled out the svg image code through Avocode, but I can't edit it using svg.
svg code

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
  <g>
    <g opacity=".3">
      <image width="16" height="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABCUlEQVQ4T6WTPUoEQRCFv6cTGAiCgoGC4iqYyyZmepHFaC/haUQTE4+wBzARIwVR9gS7LoggqE9qdxyGYbvHn4IJerrq63qvq0UibC8CQ2ADUCMt1i/ApLlR5ZWANyBAyUgCosL2LrAEfDQIn8AgussCcifbvgf2cxK2gK6kq3kg249Ap02CgTNJJ01IBSjNWgBC13dEYXxjYAU4l9SrQ+qAaCWS6kZFcXS3ChRl4QXQkxR7YfBMgu3pjx/ELXAgadppHXCUuetLYA24Aw4lTSqNvzDxGjiW9DrXg8wobwN9Sad/ukbbhaT3zAEPwN5/JvEJ2Gl7TDfAZmJG1qO7NsAzsJyQEaaOvgCFnXuZT4s+wgAAAABJRU5ErkJggg=="/>
    </g>
  </g>
</svg>

Please tell me how to change the color. Tried through fill - does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philip Gaponenko, 2019-07-25
@Vladyslavislove

You cannot change the color because you have an image element embedded in svg with a link to png, and png is not svg: It is data:image/png;
impossible to change the color of png through css.
To be able to change the color you need an icon in svg, which will be described by the appropriate elements , etc. then their properties can be controlled through attributes and css. <circle><path>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question