title: Mismatch of values in the color triangle
body: <p><a href="https://stackoverflow.com/questions/54056392/maxwell-color-triangle-with-matplotlib">Maxwell Color Triangle with Matplotlib</a></p>
  <p>If you maximize the brightness based on formula RGB(r,g,b) -&gt; 1 / max(r,g,b) * RGB(r, g, b), moving from any vertex along the side of the triangle, the value of 128 will not coincide with its quarter (0.25), but will be slightly shifted to the center (0.35). Any ideas how to fix it?</p>
  <p><a href="https://i.stack.imgur.com/rQizf.png" rel="nofollow noreferrer">1 / max(r,g,b) * RGB(r, g, b)</a>
  <a href="https://i.stack.imgur.com/VxDji.png" rel="nofollow noreferrer">Result</a></p>