def set_color(self, color):
<EOL>try:<EOL><INDENT>hash(color)<EOL><DEDENT>except TypeError:<EOL><INDENT>color = tuple(color)<EOL><DEDENT>self._color = color<EOL>
Set the foreground color of the text

ACCEPTS: any matplotlib color