def get_adjusted_color(base, largesttoi, thistoi):
        newcolor = mplc.to_rgba(base, alpha=thistoi / largesttoi * 0.9)
        return newcolor