def interpolate_tuple(startcolor, goalcolor, steps):
<EOL>R = startcolor[<NUM_LIT:0>]<EOL>G = startcolor[<NUM_LIT:1>]<EOL>B = startcolor[<NUM_LIT:2>]<EOL>targetR = goalcolor[<NUM_LIT:0>]<EOL>targetG = goalcolor[<NUM_LIT:1>]<EOL>targetB = goalcolor[<NUM_LIT:2>]<EOL>DiffR = targetR - R<EOL>DiffG = targetG - G<EOL>DiffB = targetB - B<EOL>buffer = []<EOL>for i in range(<NUM_LIT:0>, steps + <NUM_LIT:1>):<EOL><INDENT>iR = R + (DiffR * i // steps)<EOL>iG = G + (DiffG * i // steps)<EOL>iB = B + (DiffB * i // steps)<EOL>hR = string.replace(hex(iR), "<STR_LIT>", "<STR_LIT>")<EOL>hG = string.replace(hex(iG), "<STR_LIT>", "<STR_LIT>")<EOL>hB = string.replace(hex(iB), "<STR_LIT>", "<STR_LIT>")<EOL>if len(hR) == <NUM_LIT:1>:<EOL><INDENT>hR = "<STR_LIT:0>" + hR<EOL><DEDENT>if len(hB) == <NUM_LIT:1>:<EOL><INDENT>hB = "<STR_LIT:0>" + hB<EOL><DEDENT>if len(hG) == <NUM_LIT:1>:<EOL><INDENT>hG = "<STR_LIT:0>" + hG<EOL><DEDENT>color = string.upper("<STR_LIT:#>" + hR + hG + hB)<EOL>buffer.append(color)<EOL><DEDENT>return buffer<EOL>
Take two RGB color sets and mix them over a specified number of steps.  Return the list