# Change visualization:colorMapping

**URL:** <https://discuss.elastic.co/t/change-visualization-colormapping/39144>\
**Category:** Kibana\
**Created:** [January 13, 2016, 6:03pm UTC](https://discuss.elastic.co/t/change-visualization-colormapping/39144 "2016-01-13T18:03:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis.carvalho](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@luis.carvalho](https://discuss.elastic.co/u/luis.carvalho)\
**Post date:** [January 13, 2016, 6:03pm UTC](https://discuss.elastic.co/t/change-visualization-colormapping/39144/1 "2016-01-13T18:03:24Z")

</div>

Hi,

I want to change the charts color palette in the "visualization:colorMapping", but didn't find any examples. Someone can help me on this? Giving some example.

Thanks,

Luís Carvalho

---

<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:** [January 13, 2016, 6:11pm UTC](https://discuss.elastic.co/t/change-visualization-colormapping/39144/2 "2016-01-13T18:11:08Z")

</div>

The next version of Kibana that will be released allows you to select colors on the actual charts. Until then, you can modify the `visualization:colorMapping` setting as follows:

Say that I have a chart, and inside the legend there are three values: "GET", "POST", and "PUT", each with their associated color.

Inside the `visualization:colorMapping` advanced config setting, I could customize the color for each of these by changing it to `{"GET": "green", "POST": "blue", "PUT": "green"}`. (You can use hexadecimal values instead as well.)

Does this help?

---

<div class="post-metadata">

**Author:** ![luis.carvalho](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@luis.carvalho](https://discuss.elastic.co/u/luis.carvalho)\
**Post date:** [January 14, 2016, 11:59am UTC](https://discuss.elastic.co/t/change-visualization-colormapping/39144/3 "2016-01-14T11:59:40Z")

</div>

Yes, it helped.

Thanks

---

<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 6, 2017, 2:05pm UTC](https://discuss.elastic.co/t/change-visualization-colormapping/39144/4 "2017-07-06T14:05:01Z")

</div>


