Is it possible to remove a certain colour from an image (eg ) with the use of css?
Yes. I will edit with the code in a moment. [edit] I used the code here: link how ever I never found a way to make it work with Firefox, despite looking up 'fixes' that should have made it work =| works fine on Chrome though.
thanks mate but is that able to remove specific colour only, without turning the image to B&W?
No, it's not possible. You can only add effects like sepia, grayscale and such. For more info, you can check this out click.
It'd probably actually be much more efficient to have multiple images, each with the color modifications you might want (assuming there'd only be a few), than to run image processing any time you want that color to change - especially with larger images. Image processing like that would definitely take a significant amount of runtime to complete, which means that if you'd be having it happen often, then you could encounter obnoxious lag.
To make sure I understand you, though, what do you mean by removing the color? Do you mean making any pixels with that color change to being transparent, or do you mean switching them to a different color (presumably within greyscale)?
If you just want the image to appear differently, rather than changing the actual file, and the color being changed would be the same one each time, you could have a separate image file that contains just those pixels, have it overlay the original image, and then modify that image to have its overall color changed.