Convert a Windows color value to a RGB hex string. The resulting string can be used in MXP set a color. A Windows color string has the format #BBGGRR (reverse of what is normally used in HTML)
Example
#SHOW %colorname(gold)
#SHOW %hexcolor( %colorname(gold)) The first line displays the Windows color value associated with the "gold" name, which is 55295. The second line converts this to a proper HTML hex string of #FFD700