A nice color palette for barplots with several bars.
the number of colors to be in the palette.
This function can be used to select colors for bar plots.
a character vector containing different color names that can be used for barplots.
# get 5 different colors for 5 different bars barplot_colors <- bar.colors(5)