def hex_to_rgb(hex_value):
hex_value = normalize_hex(hex_value)<EOL>hex_value = int(hex_value[<NUM_LIT:1>:], <NUM_LIT:16>)<EOL>return IntegerRGB(<EOL>hex_value >> <NUM_LIT:16>,<EOL>hex_value >> <NUM_LIT:8> & <NUM_LIT>,<EOL>hex_value & <NUM_LIT><EOL>)<EOL>
Convert a hexadecimal color value to a 3-tuple of integers
suitable for use in an ``rgb()`` triplet specifying that color.