install(new FactoryModuleBuilder().
.build(Key.get(CarFactory.class, Names.named("CreatesBlueCars"));
MapBinder<Color, CarFactory> mapBinder =
MapBinder.newMapBinder(binder(), Color.class, CarFactory.class);
mapBinder.addBinding(Color.GREEN)
.to(Key.get(CarFactory.class, Names.named("CreatesGreenCars"));
mapBinder.addBinding(Color.BLUE)
.to(Key.get(CarFactory.class, Names.named("CreatesBlueCars"));
That will give you what you're looking for, I believe.
There's some boilerplate that a method or two could reduce e.g., Key getKey(Color color) { ...}
-Fred