def get_wxcolour(self, color):
DEBUG_MSG("<STR_LIT>", <NUM_LIT:1>, self)<EOL>if len(color) == <NUM_LIT:3>:<EOL><INDENT>r, g, b = color<EOL>r *= <NUM_LIT:255><EOL>g *= <NUM_LIT:255><EOL>b *= <NUM_LIT:255><EOL>return wx.Colour(red=int(r), green=int(g), blue=int(b))<EOL><DEDENT>else:<EOL><INDENT>r, g, b, a = color<EOL>r *= <NUM_LIT:255><EOL>g *= <NUM_LIT:255><EOL>b *= <NUM_LIT:255><EOL>a *= <NUM_LIT:255><EOL>return wx.Colour(red=int(r), green=int(g), blue=int(b), alpha=int(a))<EOL><DEDENT>
return a wx.Colour from RGB format