# Simple Gauge is not accepting color variables

**URL:** <https://forum.inductiveautomation.com/t/simple-gauge-is-not-accepting-color-variables/83560>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 27, 2023, 10:26pm UTC](https://forum.inductiveautomation.com/t/simple-gauge-is-not-accepting-color-variables/83560 "2023-12-27T22:26:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 27, 2023, 10:32pm UTC](https://forum.inductiveautomation.com/t/simple-gauge-is-not-accepting-color-variables/83560/3 "2023-12-27T22:32:22Z")

</div>

Yes, unfortunately. Most of the chart components are based on AMCharts (but I'm not sure if that includes the Simple Gauge) and they don't understand the CSS variables.

I solved the problem by creating a folder of session variables with the same names as the built-in themes and assigned the hex RGB values to those. Then you can bind the color property to the session variables. It became a bit more of a nuisance when the project had a light and dark theme and I had to create an expression binding on each of the session color variables.

---

_[View the full topic](https://forum.inductiveautomation.com/t/simple-gauge-is-not-accepting-color-variables/83560)._
