# SVG text and styles

**URL:** <https://forum.inductiveautomation.com/t/svg-text-and-styles/99239>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 28, 2024, 7:06pm UTC](https://forum.inductiveautomation.com/t/svg-text-and-styles/99239 "2024-11-28T19:06:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IAKC](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IAKC](https://forum.inductiveautomation.com/u/IAKC)\
**Post date:** [November 28, 2024, 7:06pm UTC](https://forum.inductiveautomation.com/t/svg-text-and-styles/99239/1 "2024-11-28T19:06:39Z")

</div>

I have embedded a simple SVG into a view. Later proceeded to add a couple of text objects within Ignition. I then added the style object within the text element and chose the style I have already created. It has taken all the configuration of the style except the colour. I then tried to add the colour by trying to use "color" and "paint" but both did fail. (I have tried inside style and outside) If I inspect the element the "color" is not crossed out. So why isn't the text not taking the colour?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/62d0ff8efa4c5df4a9c1e80ae4681ea12e07f2ee.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/88e296ae1740249db2c0885c4d810fc0775150df.png)

---

<div class="post-metadata">

**Author:** ![IAKC](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IAKC](https://forum.inductiveautomation.com/u/IAKC)\
**Post date:** [November 28, 2024, 7:16pm UTC](https://forum.inductiveautomation.com/t/svg-text-and-styles/99239/2 "2024-11-28T19:16:40Z")

</div>

Found a solution as I was looking through options in the style editor. Apparently, I need to use "fill" in the style definition and not the text colour.
