# How to Set constant Background/Legend color in Kibana Metric

**URL:** <https://discuss.elastic.co/t/how-to-set-constant-background-legend-color-in-kibana-metric/186419>\
**Category:** Kibana\
**Created:** [June 19, 2019, 9:14am UTC](https://discuss.elastic.co/t/how-to-set-constant-background-legend-color-in-kibana-metric/186419 "2019-06-19T09:14:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinay.rao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinay.rao/32/49894_2.png) [@vinay.rao](https://discuss.elastic.co/u/vinay.rao)\
**Post date:** [June 19, 2019, 9:14am UTC](https://discuss.elastic.co/t/how-to-set-constant-background-legend-color-in-kibana-metric/186419/1 "2019-06-19T09:14:05Z")

</div>

Hi All,

I need to set a constant Background/Legend color in Kibana Metric. As of now we need to set the Range and accordingly color is getting changed.

In my Case i dont have Ranges. Since to Set some color, forcefully i am giving Ranges.Because of this color keeps changing as that Range appears.

Is there a way i can set a constant Color for Kibana Metric.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 19, 2019, 3:28pm UTC](https://discuss.elastic.co/t/how-to-set-constant-background-legend-color-in-kibana-metric/186419/2 "2019-06-19T15:28:48Z")

</div>

You would probably have better luck using Time Series Visual Builder metrics, which have this functionality.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 17, 2019, 3:29pm UTC](https://discuss.elastic.co/t/how-to-set-constant-background-legend-color-in-kibana-metric/186419/3 "2019-07-17T15:29:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
