code: def add_color(self, name, model, description):
          r
  
          if self.color is False:
              self.packages.append(Package("color"))
              self.color = True
  
          self.preamble.append(Command("definecolor", arguments=[name,
                                                                 model,
                                                                 description]))
docs: r"""Add a color that can be used throughout the document.
  
          Args
          ----
          name: str
              Name to set for the color
          model: str
              The color model to use when defining the color
          description: str
              The values to use to define the color