Change hues as if rotating the device on a wall

If the hue followed the hour hand on a clock, midnight is red and a full
clockwise rotation cycles through the rainbow back to red.

Behaves interestingly if the device is not completely upright because
that would require a little more logic from this point.