# Change HTML Background color

**URL:** <https://community.hubspot.com/t/change-html-background-color/69606>\
**Category:** CMS Development\
**Created:** [November 18, 2022, 8:00pm UTC](https://community.hubspot.com/t/change-html-background-color/69606 "2022-11-18T20:00:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LMcNulty](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@LMcNulty](https://community.hubspot.com/u/LMcNulty)\
**Post date:** [November 18, 2022, 8:00pm UTC](https://community.hubspot.com/t/change-html-background-color/69606/1 "2022-11-18T20:00:10Z")

</div>

Hi,

I need to change the background color of a Timer widget to match the rest of the email.  
Currently white and need to change to #ff5c35.

curent code: 1. \<p style=“text-align:center;”\>\<img src=“[https://gifcdn.com/d1p6cpj0b9h6kr34e1j.gif](https://gifcdn.com/d1p6cpj0b9h6kr34e1j.gif)” alt=“[mailtimers.com](http://mailtimers.com)”\>  
2.\</p\>

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [November 18, 2022, 8:22pm UTC](https://community.hubspot.com/t/change-html-background-color/69606/2 "2022-11-18T20:22:08Z")

</div>

```lia-code-sample
<p style="text-align:center; background: #ff5c35;"><img src="https://gifcdn.com/d1p6cpj0b9h6kr34e1j.gif" alt="mailtimers.com">
2.</p>

```

Or is there more to it than that?

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)

---

<div class="post-metadata">

**Author:** ![LMcNulty](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@LMcNulty](https://community.hubspot.com/u/LMcNulty)\
**Post date:** [November 18, 2022, 9:37pm UTC](https://community.hubspot.com/t/change-html-background-color/69606/3 "2022-11-18T21:37:31Z")

</div>

That’s done it. Much appreciated!
