Creates a gradient palette function from 2 or 3 anchor colours. The
returned function takes an integer n and returns n colours.
Creates a gradient palette function from 2 or 3 anchor colours. The
returned function takes an integer n and returns n colours.