title: Fastest formula to get Hue from RGB
body: <p>If you are given red, green, and blue values that range from 0-255, what would be the fastest computation to get just the hue value? This formula will be used on every pixel of a 640x480 image at 30fps (9.2 million times a second) so every little bit of speed optimization helps.</p>
  
  <p>I've seen other formulas but I'm not happy with how many steps they involve. I'm looking for an actual formula, not a built in library function.</p>