I have a value created by the win32 api function [ChooseColor](http://msdn.microsoft.com/en-us/library/windows/desktop/ms646912.aspx) and I want to convert it into a rgb hex tripplet. How do I do this. What exactly is the number returned by ChooseColor?