Need help with getRGB (among other things)

Need help with getRGB (among other things)

So I'm clearly very new at this, and I'm glad I found you fellas (and ladies?). I'm modifying a script to work with Adobe's Scene7 URL Call feature and our website ( www.progarment.com ) so that whenever a customer selects a certain embroidery option they can preview it. I've managed to get it working on a basic level (check the "preview embroidery" button below the options, but I'm stonewalled at getting the colors in the var array changed over to hex codes from r,g,b. If I had any hair left I'd yank it out. So here's the URL:

http://www.progarment.com/ProductDetail ... ode=FRC066

the jquery JS that's giving me a hard time is summit.js

Any help you all could provide is invaluable. Thank you so much for your time.

Jason | Tech Services Lead
ProGarment Uniforms & Apparel