Backport grafana color template to 0.9.x

From @IainSR in #912.