from typing import Tuple
import colorsys


def rgb_to_hsv(rgb: int) -> Tuple[float, float, float]:
    """
    Converts rgb int value to hue, saturation and value parts in percents.

    :param rgb: int value
    :return: Tuple[float, float, float]
    """
    r = (rgb & 0xFF0000) >> 16
    g = (rgb & 0x00FF00) >> 8
    b = rgb & 0x0000FF

    r, g, b = r / 255, g / 255, b / 255

    return colorsys.rgb_to_hsv(r, g, b)