def blend(self, clr, factor=<NUM_LIT:0.5>):
r = self.r * (<NUM_LIT:1> - factor) + clr.r * factor<EOL>g = self.g * (<NUM_LIT:1> - factor) + clr.g * factor<EOL>b = self.b * (<NUM_LIT:1> - factor) + clr.b * factor<EOL>a = self.a * (<NUM_LIT:1> - factor) + clr.a * factor<EOL>return Color(r, g, b, a, mode="<STR_LIT>")<EOL>
Returns a mix of two colors.