uSE CColorDialog, get the color. Use the rgb value you get, if it is any index into a palette, you will have to get the current system palette and then retrieve the RGB palette entry for that index.