# Extract with script or expression some value from a style / alarm color binding to style

**URL:** <https://forum.inductiveautomation.com/t/extract-with-script-or-expression-some-value-from-a-style-alarm-color-binding-to-style/45016>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [March 29, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/extract-with-script-or-expression-some-value-from-a-style-alarm-color-binding-to-style/45016 "2021-03-29T15:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 29, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/extract-with-script-or-expression-some-value-from-a-style-alarm-color-binding-to-style/45016/1 "2021-03-29T15:40:26Z")

</div>

In the alarm status or journal component, is there a way to bind colors  
(for example **rowStyles.base.priorities.low.backgroundColor** ) to a style ?

or can we extract with script or expression some value from a style ?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/d/ddd8e3b5916a4675eed6cf8015fde8a1a780dc88.png)
