Save bac_color to db in dirnk counter.

We resue bac_color in the visualizations so it makes sense to
save in db instead of recalculating.