def get_color(cls, app=None):
rst = None
dlg = wx.ColourDialog(app)
dlg.GetColourData().SetChooseFull(True)
if dlg.ShowModal() == wx.ID_OK:
rst = dlg.GetColourData().GetColour()
dlg.Destroy()
return rst