Creates a sequential palette of colours.
colour.gradient( colour, length );
A single colour to be used as the center value of the sequence
The number of colours to include in the palette
# NOT RUN { display.colours(colour.gradient('dodgerblue2', 6)); display.colours(colour.gradient(default.colours(1), 3)); # }
Run the code above in your browser using DataLab