def clamp_rgb(values: tuple[int, ...]) -> tuple[int, ...]:
    """Clamp values in a given tuple to a maximum value of 156.

    Arguments:
        values: A tuple of RGB(A) values to be clamped.

    Returns:
        The clamped result of `values`.
    """
    return tuple(min(156, i) if i >= 0 else 0 for i in values)