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?
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,
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.
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
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:
This text is blue.
In this code, the “color” property is set to “#0000FF”, which is the hexadecimal color code for blue.
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.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.