Can the color of a personalization token be changed?

Hello!

I would like to change the font color of my personalization code and also highlight it yellow. I cannot figure out a way to do this. Any ideas?

Thanks in advance!

@JKing72 Are you referring to formatting the text after the personalization token is applied to the email (i.e. first name is Jennifer, then Jennifer would be highlighted yellow with a different font color) or are you wanting to highlight the placeholder for the personalization token?

Good question - I would like the text pulled in to be a different color (red) and highlighted (yellow). Since I posted I figured out how to change the text color(by highlighting the personalization token and choosing the red font - even though it doesn’t appear to change it in the workspace it delivers the email correctly). So now just stuck on how to get that item to be highlighted yellow. Thanks!

@JKing72 Like @Jnix284, I want to understand as well. If I’m receiving your marketing email, will I see my name in red with a yellow highlight? @JWingate2 has a solution I think will work. I’m wondering if that’s the case, what’s the reasoning behind it. Not to sound judgemental, just out of curiosity.

@JKing72 also glad to hear you could get the font color changed, but curious along with @danmoyle about the use case for this? :eyes:

Sure thing! The email I am sending is a welcome email to those who have subscribed to an app, and thus need a license code along with links to training resources. I was tasked with mocking up a few iterations of said email for those supervising the project, with direction to make the code “stand out” as those with previous non-highlighted/color coded license codes had trouble identifying the code within the email (even though it is step by step formatted). With all that being said, I had three iterations I wanted to send to the supervisors so they can choose which they prefer:

1) License code in red font

2) License code highlighted

3) License code highlighted AND in red font

Hope this makes sense!

@JKing72 totally makes sense. I think @JWingate2’s solution should work for you then.

Hi @JKing72 ,

Are you working within the HubSpot emails tool in a rich text editor? If so, you can highlight the text and in the editor bar you can select More and get into the source code and add code that will highlight the the personalization code yellow.
ie. my source code for my text editor is this:

<p style="text-align: center;">Join your new course today! <span style="color: #ff0201;">{{ personalization_token('company.about_us', 'hi') }}</span></p>

I added code to highlight the personalization yellow:

<p style="text-align: center;">Join your new course today! <span style="color: #ff0201; background-color: yellow;">{{ personalization_token('company.about_us', 'hi') }}</span></p>

I hope this helps!