Is it possible to have only a range of colors the customers can choose from?

Yes. The product designer allows to enable the color picker as well as a color palette (range of colors).