code: def get_code(self, value, exclude=()):
          
          key = (value, exclude)
          if key not in self:
              self[key] = self._get(value, exclude)
          return self[key]
docs: Return a (ansi_code, ansi_name) tuple. (E.g. ``(44, 'ansiblue')``.) for
          a given (r,g,b) value.