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