def lighten(color, scale=1.0):
	"""
	Lighten a color.
	 - color is a tuple (r, g, b, a)
	 - scale can be any number, if < 1, color will be darken
	"""
	return tuple(map(
		lambda x: int(min(max(x * scale, 0), 255)),
		color[:3]
	)) + color[3:]