# Any workaround for get color from variable in perspective

**URL:** <https://forum.inductiveautomation.com/t/any-workaround-for-get-color-from-variable-in-perspective/91110>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [May 29, 2024, 11:33pm UTC](https://forum.inductiveautomation.com/t/any-workaround-for-get-color-from-variable-in-perspective/91110 "2024-05-29T23:33:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [May 30, 2024, 12:04am UTC](https://forum.inductiveautomation.com/t/any-workaround-for-get-color-from-variable-in-perspective/91110/2 "2024-05-30T00:04:09Z")

</div>

Looks like this is general problem with chart components, they do not accept CSS variables.  
[Theme color variables in Piechart are not supported? - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/theme-color-variables-in-piechart-are-not-supported/55360)  
[Perspective Css-Theme-Variable not working on all Controls - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/perspective-css-theme-variable-not-working-on-all-controls/66629)  
[[BUG-1512] SimpleGauge color props do not accept "named colors" from theme variables - Ignition Early Access - Inductive Automation Forum](https://forum.inductiveautomation.com/t/bug-1512-simplegauge-color-props-do-not-accept-named-colors-from-theme-variables/36786)

You can try [ApexCharts](https://forum.inductiveautomation.com/t/kyvislabs-apexchart-module/55263).

---

_[View the full topic](https://forum.inductiveautomation.com/t/any-workaround-for-get-color-from-variable-in-perspective/91110)._
