I am developing a website for a client where they offer to powder coat bicycle parts.
What I want is a widget on the site where there is a picture of the bike, they select the appropriate part and using a color widget they select the colour they want and the picture automatically changes.
I have a working test using a large area where I change the background color based on what the user selects from an adjacent color picker. I then have a large PNG as the background image of the div where I have made the part itself transparent with all other areas being white. Therefore when they change the colour the bike part appears to change color.
My problem is that this looks poor, it appears obviously as an outline, I have tried keeping the original part as semi transparent on the PNG and it gives it a bit more definition but the colours end up looking washed out or dark depending on the color they choose.
Is there a better way to do this? I am at the early stages of doing this and therefore don't mind changing to an entirely different approach.