def IntToRgb(RGBint: int):  # -> typing.Tuple[int,int,int]:
    """Converts a integer color value to a RGB tuple

    :param RGBint: :class:`int`
        The integer color value.

    :returns: :class:`tuple[int,int,int]`
        RGB tuple
    """
    blue = RGBint & 255
    green = (RGBint >> 8) & 255
    red = (RGBint >> 16) & 255
    return red, green, blue