def pick_gradient_value(grad_list, gradient_level):
	return grad_list[int(round(gradient_level * (len(grad_list) - 1) / 100))]
Given a list of colors and gradient percent, return a color that should be used.
dataset/ETHPy150Open powerline/powerline/powerline/colorscheme.py/pick_gradient_value