# JSON Tabulator change font color

**URL:** <https://discourse.nodered.org/t/json-tabulator-change-font-color/41392>\
**Category:** Dashboard\
**Created:** [22 February 2021 03:12 UTC](https://discourse.nodered.org/t/json-tabulator-change-font-color/41392 "2021-02-22T03:12:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wingkuan98](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingkuan98/32/36617_2.png) [@wingkuan98](https://discourse.nodered.org/u/wingkuan98)\
**Post date:** [22 February 2021 05:11 UTC](https://discourse.nodered.org/t/json-tabulator-change-font-color/41392/2 "2021-02-22T05:11:37Z")

</div>

Ok. I found out the way!

```auto
"formatter" : "function(cell, formatterParams){var value = cell.getValue();if(value >= 23){cell.getElement().style.color ='red';cell.getElement().style.backgroundColor ='yellow'} return value;}"

```

---

_[View the full topic](https://discourse.nodered.org/t/json-tabulator-change-font-color/41392)._
