# Tag value color change

**URL:** <https://forum.inductiveautomation.com/t/tag-value-color-change/10202>\
**Category:** Ignition\
**Created:** [July 8, 2015, 7:26pm UTC](https://forum.inductiveautomation.com/t/tag-value-color-change/10202 "2015-07-08T19:26:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [July 8, 2015, 7:26pm UTC](https://forum.inductiveautomation.com/t/tag-value-color-change/10202/1 "2015-07-08T19:26:35Z")

</div>

It’s me again!! 😃  
I’d like to have color of a tag number change to red if that value is negative and green if the value is positive. would this be an expression thing or scripting?  
something like

```auto
if({Root Container.KL.LED Display 1.value} >= 0
	brighter(green),
	brighter(red)
	)
```

is that a correct expression for color or is there something else i can use?

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [July 8, 2015, 7:48pm UTC](https://forum.inductiveautomation.com/t/tag-value-color-change/10202/2 "2015-07-08T19:48:48Z")

</div>

umm ok figured it out lol

```auto
if({Root Container.KL.LED Display 1.value} >= 0,
	toColor("green"),
	toColor("red")
	)
```
