# Generate a custom color palette with default colors and 10 colors
custom_palette()
# Generate a custom color palette with specified colors and 20 colors
custom_palette(colors = c("blue", "red"), n = 20)
# example code
library(pliman)
custom_palette(n = 5)
Run the code above in your browser using DataLab