def hex_to_int(color):
    """
    :hex_to_int: converts a string hexadecimal rgb code to a tuple rgb code consisting or integer values for each
                 channel.

    :param color: string    | hex code for a color (does not include the hashtag)
    :return:      (r, g, b) | a tuple rgb code in integer form
    """
    return int(color[:2], 16), int(color[2:4], 16), int(color[4:], 16)