Changing the hue of an image[SOLVED]

I have been trying to take a swing at how to change the hue of an image by reading some tutorials. I was just wondering if anyone could help me or at least point me into the right direction.

This explains it quite nicely and it gives you code too

Alternatively, if looping through the pixels is too slow for you (it was for me) and you are somewhat experienced with shaders: Here’s one I’ve pieced together at the very bottom that does just that. Also changes the brightness.

I actually figured out how to do it efficiently. Thank you for the help.