Changing modal background color dynamically

Im trying to change the background color and text color of a modal dynamically based on the content being retrieved. I’m trying to add a dynamic attribute: style, name: background-color and then value: #fff. Is that right? doesn’t seem to work.

Thanks,
Rick

Community Page
Last updated: