def _extractRGBFromHex(hexCode):
    """
    Extract RGB information from an hexadecimal color code

    Parameters:
        hexCode (string): an hexadecimal color code

    Returns:
        A tuple containing Red, Green and Blue information
    """
    hexCode = hexCode.lstrip('#')   # Remove the '#' from the string

    # Convert each byte into decimal, store it in a tuple and return 
    return tuple(int(hexCode[i:i+2], 16) for i in (0, 2, 4))