title: Ideas on how to implement the color wheel, and find the related information using RGB in computer?
body: <p><img src="https://i.stack.imgur.com/apXPF.jpg" alt="enter image description here"></p>
  
  <p>Here is a color wheel, typically from the web. I would like to create something like the user input the <code>Yellow</code> color code, and I am able to find the complementary color of <code>Yellow</code> is purple. Also, I would like to find the nearby color, <code>light green</code>, and the <code>light orange</code>. How can I implement it in a computer science way? or any existing algorithm to do so? Thanks.  </p>