Didn't you always' wanted to know this ?
This time not a Hey Scripting Guy ! translation, but from a NG post answer Translating colors to hex and back (color asked was Red actually ;-) ) :
PoSH> "{0:x}" -f ([drawing.Color]'Chocolate').ToArgb() ffd2691e PoSH>
For More Color Hex translations :
[enum]::GetNames([drawing.KnownColor]) |% {$_;"{0:x}" -f ([drawing.Color]$_).ToArgb()}
Enjoy,
Greetings /\/\o\/\/