# Tint color

**URL:** <https://forum.inductiveautomation.com/t/tint-color/6751>\
**Category:** Ignition\
**Created:** [June 23, 2013, 7:29pm UTC](https://forum.inductiveautomation.com/t/tint-color/6751 "2013-06-23T19:29:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [June 23, 2013, 7:29pm UTC](https://forum.inductiveautomation.com/t/tint-color/6751/1 "2013-06-23T19:29:45Z")

</div>

Hi,  
How can i change Tint color for same Valve with two different Boolean Tags?  
For Example Tag1 green ,Tag2 Red  
Thanks

---

<div class="post-metadata">

**Author:** ![CPowell](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CPowell](https://forum.inductiveautomation.com/u/CPowell)\
**Post date:** [June 23, 2013, 9:55pm UTC](https://forum.inductiveautomation.com/t/tint-color/6751/2 "2013-06-23T21:55:46Z")

</div>

Create a custom property on the image, I called mine ‘tint’.

Then add this code to the Custom Property ‘tint’

```auto
binEnc({booltag1},{booltag2})
```

This will return the results 0 - 3.

Then check box Tint Filter under Image Manipulation.  
Below that is Tint Color, bind Tint Color to the custom property ‘tint’.  
Then add the rows below that.  
1 = green  
2 = red

Cheers,  
Chris
