def blend_color(color, color2):
r1, g1, b1 = hex_to_rgb(color)<EOL>r2, g2, b2 = hex_to_rgb(color2)<EOL>r3 = int(<NUM_LIT:0.5> * r1 + <NUM_LIT:0.5> * r2)<EOL>g3 = int(<NUM_LIT:0.5> * g1 + <NUM_LIT:0.5> * g2)<EOL>b3 = int(<NUM_LIT:0.5> * b1 + <NUM_LIT:0.5> * b2)<EOL>return rgb_to_hex((r3, g3, b3))<EOL>
Blend two colors together.