'Check if the string color is a legal Tkinter color string.'

def _iscolorstring(self, color):

    try:
        rgb = self.cv.winfo_rgb(color)
        ok = True
    except TK.TclError:
        ok = False
    return ok
