Is there a way to use the color picker that comes with the microsoft common dialog control to get html color codes? Or something else that I could look at so a user could click on a color and get a html color code from it?

Thanks in advanced.