'Why SSRS colour from expression is not working?

I'm trying to have a dynamic color for some objects in my report (font color, background fill of text box etc.). I was trying to get it from either Parameter or Variable, but nothing worked, the color evaluates to White. I used these for example: =Variables!Hdr1_Color.Value =Parameters!Hdr1_Color.Value I even tried this: ="Green" but none of these commands work, color stays White.

Example

Report Builder 15.0.19611.0 SQL Server 2019 Reporting Services Version 15.0.7961.31630

Has anyone seen/solved something like that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source