code: def setColor(self, color):
          '''Sets Card's color and escape code.'''
          if color == 'blue':
              self.color = 'blue'
              self.colorCode = self.colors['blue']
              self.colorCodeDark = self.colors['dblue']
          elif color == 'red':
              self.color = 'red'
              self.colorCode = self.colors['red']
              self.colorCodeDark = self.colors['dred']
          elif color == 'yellow':
              self.color = 'yellow'
              self.colorCode = self.colors['yellow']
              self.colorCodeDark = self.colors['dyellow']
          elif color == 'green':
              self.color = 'green'
              self.colorCode = self.colors['green']
              self.colorCodeDark = self.colors['dgreen']
          elif color == 'wild':  # No color modification
              self.wild = True
              self.color = 'wild'
              self.colorCodeDark = self.colors['dwild']
              self.colorCode = self.colors['wild'f setColor(self, color):
          '''Sets Card's color and escape code.'''
          if color == 'blue':
              self.color = 'blue'
              self.colorCode = self.colors['blue']
              self.colorCodeDark = self.colors['dblue']
          elif color == 'red':
              self.color = 'red'
              self.colorCode = self.colors['red']
              self.colorCodeDark = self.colors['dred']
          elif color == 'yellow':
              self.color = 'yellow'
              self.colorCode = self.colors['yellow']
              self.colorCodeDark = self.colors['dyellow']
          elif color == 'green':
              self.color = 'green'
              self.colorCode = self.colors['green']
              self.colorCodeDark = self.colors['dgreen']
          elif color == 'wild':  # No color modification
              self.wild = True
              self.color = 'wild'
              self.colorCodeDark = self.colors['dwild']
              self.colorCode = self.colors['wild']
docs: Sets Card's color and escape code.