homerUK
12-08-2002, 08:17 PM
hi,
does anyone have, or know of any Javascript functions/code which will convert a "HSL" integer in to a HEX value..
:confused:
Our editor uses an ActiveX colour chooser... and the value it returns is an HSL one... eg: 8421631 in HSL format... but we want this as a hex value which is #ff0808
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/colordialogbox.asp for the actual description of it...
thanks for any help..!!
does anyone have, or know of any Javascript functions/code which will convert a "HSL" integer in to a HEX value..
:confused:
Our editor uses an ActiveX colour chooser... and the value it returns is an HSL one... eg: 8421631 in HSL format... but we want this as a hex value which is #ff0808
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/colordialogbox.asp for the actual description of it...
thanks for any help..!!