title: In sequences sunburst, how to give a child the same color of parent?
body: <p>What to do to give a child the same colour of parent but lighter, I used the following to generate colour </p>
  
  <pre>
    var color = d3.scale.category20b();
  
   .style("fill", function(d) { return color((d.children ? d : d.parent).name); })
  </pre>
  
  <p>this code gives a random colour for each node.
  <a href="http://s25.postimg.org/4yvf1dfen/image.jpg" rel="nofollow">first image : random colour </a></p>
  
  <p>the next image is what I need, my code produce it randomly.
  <a href="http://s25.postimg.org/rc35o6gcf/image.jpg" rel="nofollow">Gradient colour</a></p>
  
  <p>I want to make the colour of child is lighter than the colour of parent.</p>
  
  <p>Sorry, I put my result images as a link because I do not have enough reputation.
  thank you</p>