title: PHP Imagick API: How to change the Hue of an Image to known hexadecimal value
body: <p>I create template websites. If a client choose a blue or green or purple heading, I don't want to have to store all those different color variations of an image. I want to programmatically change the hue. I do not want to 'flood fill' it because that would remove any textures or bevels.</p>
  
  <p>For example page you see I have accomplished exactly what I want.
  <a href="http://sta.oursitesbetter.com/test/index.php" rel="nofollow noreferrer">http://sta.oursitesbetter.com/test/index.php</a></p>
  
  <p>I have done this using Imagick modulateImage function. </p>
  
  <p>HOWEVER, I am just throwing random 'Hue' values and not RGB values.  I want to accomplish this same thing feeding RGB values.  I need a function similar to modulateImage however it must take RGB as value and set the image to that hue.</p>
  
  <p>I have studied for the past 5 hours and cannot figure out how to do it.  I need help.</p>
  
  <p>Has any of the gurus of StackOverflow got a PHP Imagick solution to this color quandary?</p>