Build a gradient pallete based on colors at specific values.

build_pallette(shades, length)

Arguments

shades
dataframe with columns: - point - the values at which the pure colors should be set - color - the pure colors
length
number of colors