from typing import Tuple


def rgb_unpack(rgb: int) -> Tuple[int, int, int]:
    """Unpack rgb color into r, g, b components"""
    b = rgb & 255
    rg = rgb >> 8
    g = rg & 255
    r = rg >> 8
    return (r, g, b)