I\'d like to convert a hex triplet to an RGB tuple and then convert a tuple to a hex triplet.
I found a simple way:
red, green, blue = bytes.fromhex("aabbcc")