# Color groupings for related series

**URL:** <https://community.grafana.com/t/color-groupings-for-related-series/39414>\
**Category:** Grafana\
**Created:** [November 18, 2020, 2:54pm UTC](https://community.grafana.com/t/color-groupings-for-related-series/39414 "2020-11-18T14:54:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mileswilson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mileswilson/32/13725_2.png) [@mileswilson](https://community.grafana.com/u/mileswilson)\
**Post date:** [November 18, 2020, 2:54pm UTC](https://community.grafana.com/t/color-groupings-for-related-series/39414/1 "2020-11-18T14:54:57Z")

</div>

I have a graph that shows the output of a single prometheus query, that the legend then breaks down by “instance number” (1-3) and “region” (eu-west-1, eu-west-2, eu-central-1).

Right now I have regex overrides set for each combination:

- node-1-eu-west-1: green1
- node-2-eu-west-1: green2
- node-3-eu-west-1: green3
- node-1-eu-central-1: purple1
- node-2-eu-central-1: purple2

etc

Is it possible to assign color groups (i.e. green, or purple) and have grafana pick a different shade for each match?

In the event we move to 4 nodes in each region, I currently have to go and update a _lot_ of graphs to add the new variation - where I’d like to be able to say “color all things in eu-west-1 different shades of green”

Hope that makes sense.
