title: Interpolation of Colors
body: <p>I want to interpolate between 2 colors and, given a specific number, generate an array with that number of interpolated colors.</p>
  
  <p>I found that D3 has a method called <code>d3.interpolate()</code>, but I don't know how to use it. </p>
  
  <p>How can I use D3 interpolator to generate an array of colours given the two colors to interpolate and the number of desired interpolated colors?</p>