'Color to CSS Color Filter
I have been trying to filter a fully white image to be able to change colors properly by inputting an RGB value and filtering the image to said color.
I have found a relatively good example on this, which I could use to manually input it, however I was hoping for a more clean and quick alternative rather than copying their code directly.
I have so far attempted color filtration manually through the link mentioned earlier and attempted to port it over, however it is very lengthy and doesn't work most of the time.
Any help would be appreciated!
Solution 1:[1]
I don't quite understand what you're exactly wanting to do, but if you wanna add an overlay effect with a color you can use:
box-shadow: /**height and width**/ inset /**color**/;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Steve Walson |
