T
T
Taras Parashchuk2018-03-29 09:25:49
css
Taras Parashchuk, 2018-03-29 09:25:49

How to change png color from orange to white using CSS (filters)?

Tell me how to change the color of png from orange to white, using CSS using filters?
If you increase the brightness and contrast in Photoshop, it turns white. In CSS, at least 1000% increase it only slightly becomes lighter.5abc863719613787170157.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
�
ⓒⓢⓢ, 2018-03-29
@taras1978

filter: brightness(0) invert(1);
https://jsfiddle.net/ku9uewwf/
Again, check cross-browser compatibility

P
Pavel Gruznykh, 2018-03-29
@pavelcarcass

Make the image transparent background in Photoshop , and use CSS to provide the image with a background of the desired color.

M
Maxim Timofeev, 2018-03-29
@webinar

If you want to change colors from css - use svg. Png and jpg cannot be controlled from css, only indirectly, as Pavel Gruznykh wrote .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question