N
N
nuclear_kote2018-01-28 20:29:34
css
nuclear_kote, 2018-01-28 20:29:34

Is it possible to color png with css?

There is some simple png. Something like this: 5a6e06596c44e733547558.png
Is there an option to paint lines in an arbitrary color using css ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dom1n1k, 2018-01-28
@nuclear_kote

If svg for some reason is not suitable, the most convenient option is perhaps with a colored block on top and the specified mix-blend-mode: lighten;. In this case, the color can really be controlled, unlike shamanism with hue-rotate, saturate, etc.
But it's not exactly cross-browser.

U
unsweet, 2018-01-28
@unsweet

Or hue-rorate or distill in svg and shamanize with color there.

I
Igor Koch, 2018-01-28
@amux

You can https://jsfiddle.net/whata/r5ovdaq6/1/ but it will not work in all browsers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question