# How to change label background color in perspective label

**URL:** <https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 1, 2023, 6:59am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655 "2023-09-01T06:59:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashiraj\_P\_S](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Shashiraj\_P\_S](https://forum.inductiveautomation.com/u/Shashiraj_P_S)\
**Post date:** [September 1, 2023, 6:59am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/1 "2023-09-01T06:59:35Z")

</div>

Hi,  
I want to change my label background color in ignition perspective, if tag value varies from 0-70 i want to change background color as red if tag value is \> 71 i want change as green color how to do this?

---

<div class="post-metadata">

**Author:** ![Shashiraj\_P\_S](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Shashiraj\_P\_S](https://forum.inductiveautomation.com/u/Shashiraj_P_S)\
**Post date:** [September 1, 2023, 7:16am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/2 "2023-09-01T07:16:54Z")

</div>

Please anyone reply my question

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [September 1, 2023, 7:23am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/3 "2023-09-01T07:23:04Z")

</div>

Simply add backgroundColor to your style props and then use an expression binding to manupulate the color using your tag value.

---

<div class="post-metadata">

**Author:** ![Shashiraj\_P\_S](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Shashiraj\_P\_S](https://forum.inductiveautomation.com/u/Shashiraj_P_S)\
**Post date:** [September 1, 2023, 7:26am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/4 "2023-09-01T07:26:01Z")

</div>

can u explain briefly

---

<div class="post-metadata">

**Author:** ![Shashiraj\_P\_S](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Shashiraj\_P\_S](https://forum.inductiveautomation.com/u/Shashiraj_P_S)\
**Post date:** [September 1, 2023, 7:27am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/5 "2023-09-01T07:27:07Z")

</div>

can you show in the screenshot sample

---

<div class="post-metadata">

**Author:** ![Luca\_Hofmann](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@Luca\_Hofmann](https://forum.inductiveautomation.com/u/Luca_Hofmann)\
**Post date:** [September 1, 2023, 7:35am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/6 "2023-09-01T07:35:07Z")

</div>

Hi,

see screenshot down below.  
You can also run a script on that "backgroundColor"-property binding, which gives you more options. But for what you described the screenshot should help

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/4/e4ea5a23179dd90db7e8b864040e68741e11a057.png)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [September 1, 2023, 7:35am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/7 "2023-09-01T07:35:48Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b630371a4975e72fce34845ff9d8c5c22bd54e4.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/4966e9c11efa09875543a72f3f845190659e5419.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/2/e27371742c57b6964705bf7b66dbd71d47a421c2.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/1/b1df0f2fb8a7c11aa3a9634f6ca4b17e5a70168e.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 1, 2023, 7:37am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/8 "2023-09-01T07:37:56Z")

</div>

If you want to actually get help here you'll need to do a few things:

1. read the doc and do some research:  
This is a BASIC feature. It is well documented, and there's even a BUILT-IN STYLE MANAGER. All you have to do is to click on the button that's next to the `styles` property of the label. I mean... We can't click buttons for you.
2. be patient. Don't ask for an answer 10 minutes after asking the question.

We're not support and we don't gain anything from answering questions, except for a few laughs once in a while, but mostly we get frustrated because people seem to believe we owe them solutions to their problems.

---

<div class="post-metadata">

**Author:** ![Shashiraj\_P\_S](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Shashiraj\_P\_S](https://forum.inductiveautomation.com/u/Shashiraj_P_S)\
**Post date:** [September 1, 2023, 8:07am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/9 "2023-09-01T08:07:34Z")

</div>

Hey Sorry, but i got solution for above i asked u question, thank you for solving my problem

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 1, 2023, 8:21am UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/10 "2023-09-01T08:21:03Z")

</div>

I'd argue that the real problem hasn't been solved, but hey, I'm neither your employer nor your dad, so what do I care ?

---

<div class="post-metadata">

**Author:** ![Mason\_Stevens](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Mason\_Stevens](https://forum.inductiveautomation.com/u/Mason_Stevens)\
**Post date:** [October 6, 2023, 7:29pm UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/11 "2023-10-06T19:29:15Z")

</div>

Sorry for a pretty useless bump of a month old post, got sucked down the rabbit hole of this man's threads in the last 15 minutes or so. Regardless, Pascal, this reply sent me to tears and my day's been made 🤣

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 7, 2023, 1:01pm UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/12 "2023-10-07T13:01:00Z")

</div>

If you havent read his topic activity (maybe this is what you were referring to), it's worth a read. It's a collection of, what I'm convinced for his sake, a whole series of relentless practical jokes... Question after question of the same super basic questions easily answered by a Google search, or questions that are so broad and contextless, and when prompted for more information he replies with just the same question regurgitated, that you can't possibly answer them in any meaningful way. Despite being met, at least initially, with enthusiastic and helpful replies with links to the user manual and the IU which he's presumably ignored, his topics remain the same format...

---

<div class="post-metadata">

**Author:** ![Mason\_Stevens](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@Mason\_Stevens](https://forum.inductiveautomation.com/u/Mason_Stevens)\
**Post date:** [October 7, 2023, 8:06pm UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/13 "2023-10-07T20:06:53Z")

</div>

Yeah I was diving through his topic history in increasing horror, and could only come to the same conclusion haha. Better to convince myself this is poor satire and save my optimism from crumbling than accept that he’s serious and unaware of the problems 🤣

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 7, 2023, 8:17pm UTC](https://forum.inductiveautomation.com/t/how-to-change-label-background-color-in-perspective-label/78655/14 "2023-10-07T20:17:16Z")

</div>

> [@Mason\_Stevens](#):
>
> unaware of the problems

That's the biggest thing; he just keeps on peddling the same topics out, seemingly oblivious of any of these comments. It's bizarre
