Add HSV functionality for gethue and getvalue functions