You can also check out the reverse RGB-to-Hex Conversion Tool.
Formatted RGB Color Value:
This is nothing new of course. There are several of these online conversion tools already, but for a few reasons, I think this solution is worthy of taking up space on the Internet. Take a look at it with me if you’re interested:
Have fun scripting…or converting..or whatever it is you do :)