create color palette for continuous data
color_palette(colors)
colors
colors of length >=2
color vector
guangchuang yu
color_palette(c("red", "yellow", "green"))