code: def set_color_scheme(name, color_scheme, replace=True):
      
      section = "appearance"
      names = CONF.get("appearance", "names", [])
      for key in sh.COLOR_SCHEME_KEYS:
          option = "%s/%s" % (name, key)
          value = CONF.get(section, option, default=None)
          if value is None or replace or name not in names:
              CONF.set(section, option, color_scheme[key])
      names.append(to_text_string(name))
      CONF.set(section, "names", sorted(list(set(names))))
docs: Set syntax color scheme