def _adjust_component(component: int) -> int:
    """Return the midpoint of the quadrant of the range 0-255 that the given 
    component belongs to. Each quadrant spans 63 integers, and the midpoints 
    are: 31, 95, 159, 223.
    >>> _adjust_component(25)
    31
    >>> _adjust_component(115)
    95
    """
    if component <= 63:
        return 31
    elif component > 63 and component <= 127:
        return 95
    elif component > 127 and component <= 191:
        return 159
    else: #component > 191
        return 223