modified hue computation