Keep the category-to-color mapping stable
If Email is blue in one view, keep that mapping when presenting the same categories elsewhere. Moving a category to a different position should not make the reader infer that the meaning of its color changed.