title: What is the math behind the Colour Wheel
body: <p>I want to create a pie with 12 slices, with each slice a different colour.</p>
  
  <p>Pretty much every colour wheel seems to follow the same format; eg: <a href="http://www.tigercolor.com/color-lab/color-theory/color-theory-intro.htm" rel="noreferrer">http://www.tigercolor.com/color-lab/color-theory/color-theory-intro.htm</a> .</p>
  
  <p>But what algorithms are there for generating the colours? What is the math behind RGB(theta)?   Surely there must be some established science on this, but Google is not giving me any clues.</p>