Photoshop would be easy-
for lighter colored plugs use a black paper backdrop and for darker plugs use a white paper backdrop.....
then use the magic wand to highlight the plug, Copy the highlited plug and paste it into a blank canvas or a canvas of contrasting color-
