# How To change text or numbers color conditionally in Kibana Data Table

**URL:** <https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468>\
**Category:** Kibana\
**Created:** [April 6, 2017, 12:44pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468 "2017-04-06T12:44:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrr123](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rrr123](https://discuss.elastic.co/u/rrr123)\
**Post date:** [April 6, 2017, 12:44pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/1 "2017-04-06T12:44:12Z")

</div>

Is there any way to change text or numbers color based on the content in Kibana Data Table.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [April 6, 2017, 8:20pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/2 "2017-04-06T20:20:37Z")

</div>

As in, you'd like to change the color of the text in the table?

If I got that right, no, Kibana doesn't currently offer any way to customize the appearance of text in a data table, using the value or otherwise.

---

<div class="post-metadata">

**Author:** ![RPGambit](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@RPGambit](https://discuss.elastic.co/u/RPGambit)\
**Post date:** [April 7, 2017, 3:06pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/3 "2017-04-07T15:06:34Z")

</div>

Hi Joe.

I was looking for the same thing that rrr123 was looking for. Isn't the following setting supposed to do that?

visualization:colorMapping (Default: {"Count":"#6eadc1"})  
Maps values to specified colors within visualizations

I was never able to get it to work though!!!

Don

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [April 7, 2017, 4:31pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/4 "2017-04-07T16:31:44Z")

</div>

Hi,

You can use the field format and assign the colour you want for a particular field under management.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b40fb58ee745041186fe448552b9ca3ee1dbcd20.png)

But Joe is correct in saying we have no way of changing color based on value of a particular field.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![RPGambit](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@RPGambit](https://discuss.elastic.co/u/RPGambit)\
**Post date:** [April 7, 2017, 4:56pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/5 "2017-04-07T16:56:45Z")

</div>

Thank you so much for your quick reply. I will look into that!!!

Don

---

<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:** [May 5, 2017, 5:00pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/6 "2017-05-05T17:00:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [February 22, 2018, 2:40pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/7 "2018-02-22T14:40:57Z")

</div>

The Metric visualization has this feature now. In this case I've set ranges and colors are applied to the values;

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/5/95ffdbd445ab38b5812ae1d4a0aacc7b9fa6b15b.png)

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [February 22, 2018, 3:18pm UTC](https://discuss.elastic.co/t/how-to-change-text-or-numbers-color-conditionally-in-kibana-data-table/81468/8 "2018-02-22T15:18:01Z")

</div>

Also see; [Conditional color change in Metric Widget](https://discuss.elastic.co/t/conditional-color-change-in-metric-widget/120327/3)
