def _adjust_component(value: int) -> int:
    """ Returns the midpoint value of the quadrant a component lies. 
    By Maitreyi Patel 101120534
    >>>_adjust_component(43)
    31
    >>>_adjust_component(115)
    95
    >>>_adjust_component(154)
    159
    >>>_adjust_component(210)
    223
    """
    midpt = 0
    if 255 >= value >=192:
        midpt = 223
    if 191 >= value >=128:
        midpt = 159
    if 127 >= value >=64:
        midpt = 95 
    if 63 >= value >=0:
        midpt = 31
    return midpt