code: public static void saveColorPository (ColorPository posit, File root)
      {
          File path = new File(root, CONFIG_PATH);
          try {
              CompiledConfig.saveConfig(path, posit);
          } catch (IOException ioe) {
              log.warning("Failure saving color pository", "path", path, "error", ioe);
          }
      }
docs: Serializes and saves color pository to the supplied file.