title: PHP Work out colour saturation
body: <p>lets say i have the following RGB values:</p>
  
  <p>R:129
  G:98
  B:87</p>
  
  <p>Photoshop says the saturation of that colour is 33%</p>
  
  <p>How would i work out that percentage using PHP and the RGB values?</p>