# Color change on a label

**URL:** <https://forum.inductiveautomation.com/t/color-change-on-a-label/79165>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [September 14, 2023, 3:28pm UTC](https://forum.inductiveautomation.com/t/color-change-on-a-label/79165 "2023-09-14T15:28:53Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 27, 2024, 1:56pm UTC](https://forum.inductiveautomation.com/t/color-change-on-a-label/79165/24 "2024-03-27T13:56:52Z")

</div>

You can not apply css injections inside the properties, this only works in styleclasses.

I think this is what you want

```auto
.psc-smartsheetsdropdowns .ia_dropdown__valuePill{	
	background-color:red;
}
.ia_dropdown__optionsModal:has(.psc-smartsheetsdropdowns){	
	background-color:red;
}

```

to be put in the stylesheet.css

---

_[View the full topic](https://forum.inductiveautomation.com/t/color-change-on-a-label/79165)._
