# Is it possible to block some colors from being used automatically?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643>\
**Category:** Kibana\
**Created:** [November 20, 2019, 7:40am UTC](https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643 "2019-11-20T07:40:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [November 20, 2019, 7:40am UTC](https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643/1 "2019-11-20T07:40:43Z")

</div>

Hi,

I am creating a 2 dimensional pie chart:  
inner value: status with explicit color mapping (ok=green, error=red)  
outer value: application which applies to the status ( **term aggregation, automatic colors** )

it is possible to prevent tell the pie diagram not to use red and green automatically? I do not want to have green or red on the outside circle. That would be easier to read.

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [November 21, 2019, 2:18pm UTC](https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643/2 "2019-11-21T14:18:50Z")

</div>

Hey @asp,

The closest you can get is to define your own colors for each label via the legend:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d1509b919be6b4117a74ef949925517cf7ab7efd.jpeg)

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [November 21, 2019, 2:30pm UTC](https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643/3 "2019-11-21T14:30:40Z")

</div>

I know this feature. That's how i did it for ok and false. But the outer circle's data is generic, so that is not an option.  
☹

---

<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 19, 2019, 2:41pm UTC](https://discuss.elastic.co/t/is-it-possible-to-block-some-colors-from-being-used-automatically/208643/4 "2019-12-19T14:41:14Z")

</div>

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