html - is it possible to change the colors on parts of an image using jquery, css, etc -


i have image shows different fireworks. want make colors configurable there combobox says:

  1. usa (which should color fireworks red, white , blue)
  2. st patricks day (which should color fireworks various shades of green . .
  3. etc . .

and want this:

or this:

enter image description here

the fireworks single image right , want "intermingle" selected color (so #1 above, shows red, white , blue sitting side side. (compared left side of image blue, right side red, etc. .)

so have image , have 2 choices:

  1. create seperate image every example in dropdown.
  2. see if there way dynamically change colors of parts of image within html page
  3. other suggestions ??

i wanted feedback on if #2 possible or should stick #1. list gets longer, #1 becomes more annoying , #2 more appealing (if possible)

well other suggestion have firework mask, inverted, , use underlying background colour in box holds it.

that way colour tints like, single alpha-transparency image.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -