title: In RGB model how many distinct hues are available?
body: <p>In RGB model, each pixel is defined by 3 bytes, for R,G and B respectively. This gives a total of 2<sup>24</sup> colors, including 256 <em>tones</em> of grey.</p>
  <p>It is very common to represent HSV/HSB/HSL models with <code>float</code>s (not <code>byte</code>s). Most descriptions describe hue as the &quot;angle&quot; in a cone, so it's sensible to treat it as a real number.</p>
  <p>But how does this relate to the down-to-earth limit of 2<sup>24</sup> total colors..? How many distinct hues are available? More over, it seems to me that the number should depend on other parameters - saturation for instance..</p>
  <hr/>
  <p>Interesting reading: <a href="https://web.archive.org/web/20170622125306/http://www.dig.cs.gc.cuny.edu/manuals/Gimp2/Grokking-the-GIMP-v1.0/node52.html" rel="nofollow noreferrer">https://web.archive.org/web/20170622125306/http://www.dig.cs.gc.cuny.edu/manuals/Gimp2/Grokking-the-GIMP-v1.0/node52.html</a></p>