# Set Colors (under certain condition if possible) onto Data Table rows

**URL:** <https://discuss.elastic.co/t/set-colors-under-certain-condition-if-possible-onto-data-table-rows/272709>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [May 11, 2021, 2:34pm UTC](https://discuss.elastic.co/t/set-colors-under-certain-condition-if-possible-onto-data-table-rows/272709 "2021-05-11T14:34:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [May 11, 2021, 11:15pm UTC](https://discuss.elastic.co/t/set-colors-under-certain-condition-if-possible-onto-data-table-rows/272709/2 "2021-05-11T23:15:23Z")

</div>

You can color the value, not the entire row. Or try using vega.  
Discussions:

> [@Color in a field in the dashboard](https://discuss.elastic.co/t/color-in-a-field-in-the-dashboard/245218):
>
> Hello, I would like to know if its possible to display colored fields based on the message. For ex : If a server down is down, I would get the status as UP or DOWN on the dashboard. I would like to modify it as If the server status is DOWN, it should display a red bubble and a green bubble if its UP Is it possible to do it and if yes, could you please share some information on this ?

Also can do it with painless

---

_[View the full topic](https://discuss.elastic.co/t/set-colors-under-certain-condition-if-possible-onto-data-table-rows/272709)._
