Changing image with multiple choice

I would like to know if it is possible to create an image where some part change (color) when the user select an option. I have 18 options on 7 parts, so that gives millions of solutions !


Thank you for your help !
Cécile

Check this URL

There is sample code, perhaps you want!

Thank you nanami, I’ll try this