def text_color(self, color): self._text_color = short_color(color)
def border_color(self, color): self._border_color = short_color(color)
def color(self, color): self._color = short_color(color)
def color(self, color): if color is None: raise ValueError("Colors must be strings of the format XXXXX") self._color = short_color(color)