Generating color palettes in R