Updated range constants and fixed variables in rgb_to_hsb()