# Cell Color for Perspective Table

**URL:** <https://forum.inductiveautomation.com/t/cell-color-for-perspective-table/90348>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 14, 2024, 6:40am UTC](https://forum.inductiveautomation.com/t/cell-color-for-perspective-table/90348 "2024-05-14T06:40:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [May 14, 2024, 6:40am UTC](https://forum.inductiveautomation.com/t/cell-color-for-perspective-table/90348/1 "2024-05-14T06:40:42Z")

</div>

Hello!

In a perspective table  
if a cell value is 3 I want the background color of that cell yellow  
and  
if is 4 I want the background color of that cell orange

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/3/53dab0b67726e682a7893f7cf937549e8db59297.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/2/9259a506766827a49c11d1eda8fb81499290b994.jpeg)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 14, 2024, 7:41am UTC](https://forum.inductiveautomation.com/t/cell-color-for-perspective-table/90348/2 "2024-05-14T07:41:35Z")

</div>

> **[Styling Rows Based on Values | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-table/styling-rows)**
>
> This page includes examples detailing different ways to style rows based on values using Script Transforms. Each example accomplishes similiar results through different binding and data types to change the background color of a row or individual...
