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)
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
Add comment