@vantablack sth like filter: sepia(100%) hue-rotate(90deg) saturate(400%) should make a convincing color filter
@vantablack (rotate different amounts for different colors)
@vantablack you'd have to replace the color changing code with sth that changes the CSS property instead
@vantablack it's too late to think rn but I might take a look tomorrow if I'm bored at work (no promises lol)
@vantablack oh, also this code doesn't use an image at all, it basically gives a rectangle a custom outline