javascript - Removing a color in image - CSS, HTML, JS? -
i'm wondering how remove color in image on webpage. want kind of result explained here...
an image 3 segments: blue, purple, , red. want filter out blue ends segments: black, red, , red.
blue purple red -> black red red
i know done in css or javascript in way not know how it. i've been messing css filter
s , putting div
on top of color, nothing rid of blue.
does know how / possible?
you try using css filters however, don't think there filter specific colour , browser compatibility limited. https://developer.mozilla.org/en/docs/web/css/filter
alternatively use svg image allows modify parts of image using css think svg files can pretty big large images... think can use adobe illustrator save files svg. http://www.w3schools.com/svg/tryit.asp?filename=trysvg_myfirst
Comments
Post a Comment