def Point2HexColor(a, lfrac, tfrac):
[H,S,V] = [math.floor(<NUM_LIT> * a), lfrac, tfrac]<EOL>RGB = hsvToRGB(H, S, V)<EOL>H = [hex(int(math.floor(<NUM_LIT:255> * x))) for x in RGB]<EOL>HEX = [a[a.find('<STR_LIT:x>') + <NUM_LIT:1>:] for a in H]<EOL>HEX = ['<STR_LIT:0>' + h if len(h) == <NUM_LIT:1> else h for h in HEX]<EOL>return '<STR_LIT:#>' + '<STR_LIT>'.join(HEX)<EOL>
Return web-safe hex triplets.