title: RGB to HSB Algorithm
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb">Algorithm to convert RGB to HSV and HSV to RGB?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to find an algorithm (prefferabley represented in C++) that converts from RGBto HSB values so that I can process it accordingly. Anyone got any suggestions?</p>