Hi all,
Iam currently trying to create a dynamic email template for a huge company that has different divisions. Every division has a different color for marketing emails.
I want to make it very easy for my client, so my idea is to create one email template and to use one colored devider which changes the color automatically depending on the content settings that has been chosen. As every division has an own address and contact details, we created different content settings and I already added a custom field to the content settings to add the Hex color code.
It should look like this screenshot, I have one background image and on the buttom of the picture on the left side there should be a devider in the color of the division that has been choosen in the content settings.

My code is currently looking like this, but Iam not sure how to change the code that the dynamic Hex color code will be put from the content settings.
<div style="display: block;
width: 100%;
;">
<div data-container="true" class="columnContainer" data-container-width="100" style="display: block; min-height: 70px; min-width: 20px; float: left; word-wrap: break-word; word-break: break-word; position: relative;width: 600px;flex-direction: column;">
<div class="min-height"></div>
<div data-editorblocktype="Divider">
<div align="left" class="dividerWrapper">
<table class="no-spacing" style="padding: 0px; margin: 0px; width: 40%;">
<tbody>
<tr style="padding: 0px;">
<td style="margin: 0px; padding: 0px 0px 0px 0px; vertical-align: top;">
<p style="color:#25b4b0; margin: 0px auto 0px 0px; border-bottom: 20px solid; line-height: 0px; width: 100%; padding: 0px !important;"><span><!--[if gte mso 9]><br/><![endif]--> </span></p>
</td>
</tr>
</tbody>
</table>
</div>
I already tried it in this way, but it doesn't worked.
<tr style="padding: 0px;">
<td style="margin: 0px; padding: 0px 0px 0px 0px; vertical-align: top;">
<p style="color:{{msdyncrm_contentsettings.new_colorhexcode1}}; margin: 0px auto 0px 0px; border-bottom: 20px solid; line-height: 0px; width: 100%; padding: 0px !important;"><span><!--[if gte mso 9]><br/><![endif]--> </span></p>
</td>
</tr>
Does anyone have an idea to solve this?
Thank you very much in advance.
Best regards,
Daniel