Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
filter: brightness(0) invert(1);
https://jsfiddle.net/ku9uewwf/
Again, check cross-browser compatibility
Make the image transparent background in Photoshop , and use CSS to provide the image with a background of the desired color.
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 questionAsk a Question
731 491 924 answers to any question