this post was submitted on 24 Dec 2023
1 points (100.0% liked)

CSS

484 readers
1 users here now

founded 1 year ago
MODERATORS
 

cross-posted from: https://programming.dev/post/7667731

Hi,

As CSS do not have a color-overlay[^1] filter.

There is some heavy work around:

https://isotropic.co/tool/hex-color-to-css-filter/

that use a combination of CSS filter to target the desired color...

Those online calculators are neat, but I would like an offline version, in case the provided one become inaccessible.

I've downloaded the zip of https://codepen.io/sosuke/pen/Pjoqqp

But it doesn't work locally.. :/

So I would like to know, if someone know one in ๐Ÿ Python ? or how can I make one then ?

Or if someone know another way to have the color-overlay[^1] effect in html\css, I'm all ears !

Thank.

[^1]: To apply like in Photoshop a color on the shape of the image (so not on the parts that have transparency.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here