HTML Email Body

hello,

I am using the activity “create HTML Content” but I need more font colors than the ones available, like Calibri and other colors how can I fix it? Are there packages I can install or so?

Hi,

As far as I know, there is no activities package for it. However we can directly edit the html code of the following file under the project folder - .data. Can you check this?

Regards,

1 Like

from where do i get other templates

Hi Farah,

If you want to use other font colors: You can open and pick the right color from this and use it in your html template: HTML Color Picker

Or if you open .data/HtmlContent0.html file in VSCode editor, you will be able to see color codes for color property as below.

1 Like
1 Like

Hi @Farah_halawani

Try this

Hope this might help you :slightly_smiling_face:

2 Likes

@Farah_halawani

You can click on the highlighted Icon and then we can edit the values to any values you want…

Change the values as you need

Hope this helps

cheers

1 Like

Hi @Farah_halawani

The “Create HTML Content” activity in UiPath Studio provides a limited set of font colors that you can use in your HTML content. However, you can specify any color that you want by using hexadecimal color codes.

Here’s how you can specify a custom font color in the “Create HTML Content” activity:

  1. Open the “Create HTML Content” activity and click on the “Content” field.
  2. Type in the HTML content that you want to create, including any font color changes that you want to make. For example, if you want to change the color of some text to blue, you can use the following HTML code:

This text is blue.

In this code, the “color” property is set to “#0000FF”, which is the hexadecimal color code for blue.

  1. Once you have entered your HTML content, click the “Save” button to save your changes.

You can use any hexadecimal color code to specify a custom font color. You can find a list of color codes online, or use a color picker tool to choose the color that you want.

If you want to use more advanced HTML styling, such as different fonts, you can use CSS to specify the styles that you want to apply to your content. To do this, you can add a style tag to your HTML content and include CSS rules inside the tag.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.