def invert_colors(colors):
	result = []

	for color in colors:
		average = (color[0] + color[1] + color[2]) // 3
		inverse = 255 - average

		result.append((inverse, inverse, inverse))

	return result
Locates a binary on the path.
dataset/ETHPy150Open freedoom/freedoom/lumps/colormap/colormap.py/invert_colors--crossover with--dataset/ETHPy150Open edgewall/trac/trac/test.py/locate