Chapter 9
Working with Strings in Python
Section 5
Converting Hexadecimal Numbers to RGB Intermediate Level
Take an RBG String and convert it to hexadecimal using little known functionality between the string and int objects.