<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getColors_Triad(hue=None, sat = 1, val = 1, spread = 60):
 	""" 	Create a palette with one main color and two opposite color evenly spread apart from the main one. 	:param hue: A 0-1 float with the starting hue value. 	:param sat: A 0-1 float with the palette saturation. 	:param val: A 0-1 float with the palette value. 	:param val: An int with the spread in degrees from the opposite color. 	:rtype: A list of :py:class:`Color` objects. 	"""

	palette = list()
	if hue==None:
		leadHue = randFloat(0, 1)
	else:
		leadHue = hue
	palette.append(Color(0,0,0,1).set_HSV(leadHue, sat, val))
	palette.append(Color(0,0,0,1).set_HSV((leadHue + 0.5 + spread/360) % 1, sat, val))
	palette.append(Color(0,0,0,1).set_HSV((leadHue + 0.5 - spread/360) % 1, sat, val))	
	return palette