Send Outlook E-Mail Body With Color

Hi guys,

I would want to send my e-mail with hex code in html body.

My e-mail body =

How can ı add to it RGB (0,70,80) color from hex or this color ?


Hi @burakavuncu

Have a look on the thread



I try it but not working for me

HI @burakavuncu

Look on the thread


Hi @burakavuncu ,

You have to convert the entire mail content into HTML if you want to achieve that.
Assuming you want the background to be completely covered with the color of choice, you can use the background-color property in style from HTML and pass in the RBG value like so →

str_backgroundColor = "rgb(0,70,80)"
"<body style='background-color:"+str_backgroundColor+";'>The content of the body element is displayed in your browser.</body>"

Also, here is the workflow, I hope you find it resourceful.
MailHexColor.xaml (6.2 KB)

Kind Regards,
Ashwin A.K