Calculate HUE and saturation