import typing


def hex_to_color(color: str) -> typing.Tuple[int, int, int]:
    """
    Helper method for transforming a hex string encoding a color into a tuple of color entries
    """
    return int(color[:2], base=16), int(color[2:4], base=16), int(color[4:6], base=16)