# Kibana Visualizations changing color on refresh \[OPEN BUG\]

**URL:** <https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280>\
**Category:** Kibana\
**Created:** [November 3, 2017, 8:09am UTC](https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280 "2017-11-03T08:09:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gotjoshua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gotjoshua/32/23102_2.png) [@gotjoshua](https://discuss.elastic.co/u/gotjoshua)\
**Post date:** [November 3, 2017, 8:09am UTC](https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280/1 "2017-11-03T08:09:52Z")

</div>

It seems that if you don't manually set the colors on a chart, they will randomize on each refresh:

 ![ChartRandomcolor2](https://us1.discourse-cdn.com/elastic/original/3X/d/b/dbbeb7a8e98b6b7270f1ddc3e2b5a77a90cda09e.png) ![ChartRandomcolor1](https://us1.discourse-cdn.com/elastic/original/3X/8/6/8645630de5a659fc6895e091a6e590877227bccf.png)

Is this feature or bug?

I would expect that kibana would choose random colors from a pleasing palette once upon chart creation, and then remember them for the sake of consistency.

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [November 3, 2017, 2:20pm UTC](https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280/2 "2017-11-03T14:20:49Z")

</div>

Hi @gotjoshua,

if I'm not mistaken the color palette is derived from the visualization configuration. If that doesn't change, neither should the colors. Sounds very similar to [this issue](https://github.com/elastic/kibana/issues/7561). To work around this you could try to set some default colors using the advances setting `visualization:colorMapping`.

---

<div class="post-metadata">

**Author:** ![gotjoshua](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gotjoshua/32/23102_2.png) [@gotjoshua](https://discuss.elastic.co/u/gotjoshua)\
**Post date:** [November 10, 2017, 3:26pm UTC](https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280/3 "2017-11-10T15:26:15Z")

</div>

Yup, thats the issue, looks like it is a known and recognized bug:

> [colors that aren't specifically pinned are random](https://github.com/elastic/kibana/issues/7561#issuecomment-249235858)

---

<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:** [December 8, 2017, 3:27pm UTC](https://discuss.elastic.co/t/kibana-visualizations-changing-color-on-refresh-open-bug/106280/4 "2017-12-08T15:27:02Z")

</div>

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