with Sendgrid dynamic template, I'm trying to figure out how to use dynamic data for style property so I can change text color depending on some dynamic data.
in the following example, I'm trying to use dynamic data colorHash
such as #ddd
for style color property. but it doesn't seem to work. so I'd appreciate it if anyone knows how to dynamically change text color in a smart way.
<p style="color: {{ colorHash }}">Ciao {{{ username }}}</p>