# Changing the color of text in a label

**URL:** <https://forum.inductiveautomation.com/t/changing-the-color-of-text-in-a-label/186>\
**Category:** Archived Topics\
**Created:** [January 31, 2007, 7:20am UTC](https://forum.inductiveautomation.com/t/changing-the-color-of-text-in-a-label/186 "2007-01-31T07:20:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jet](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jet](https://forum.inductiveautomation.com/u/jet)\
**Post date:** [January 31, 2007, 7:20am UTC](https://forum.inductiveautomation.com/t/changing-the-color-of-text-in-a-label/186/1 "2007-01-31T07:20:28Z")

</div>

```auto
<html>Q: I need help. <br> <COLOR>A: Yes you do.
```

Note. color=“red”. The board keeps kicking the =“red” out of my post.

Doesn’t work. Any way to achieve my goal here within one label?

I know the html is limited but I was able to pull this off:

`
"<html><center> External <br> Alarm <br>" +
if ({Root Container.External Alarm.External_Alarm},
 "activated", "silent")`

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [January 31, 2007, 3:49pm UTC](https://forum.inductiveautomation.com/t/changing-the-color-of-text-in-a-label/186/2 "2007-01-31T15:49:08Z")

</div>

You bet - the problem is that isn’t an HTML tag.

Try something like this:

```auto
<HTML>Q: I need help. <br> <FONT COLOR="red">A: you were close.</FONT>
```

---

<div class="post-metadata">

**Author:** ![jet](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jet](https://forum.inductiveautomation.com/u/jet)\
**Post date:** [February 1, 2007, 3:41am UTC](https://forum.inductiveautomation.com/t/changing-the-color-of-text-in-a-label/186/3 "2007-02-01T03:41:27Z")

</div>

Thanks. Gonna have to dust off the HTML book. Half the problem is the nut that is loose on my keyboard.
