RColorBrewer package is a great tool when it comes to build a color palette with R. However, the default palettes give only about 10 different colors. Here is a tip to get more colors in a graph, still using this useful package. Basically, it relies on the
colorRampPalette() function to extand a first palette.
Note: visit this post for a complete list of the available palettes.