# Email digest having its own colors

**URL:** https://meta.discourse.org/t/email-digest-having-its-own-colors/237274
**Category:** Support
**Tags:** activity-summary
**Created:** [August 26, 2022, 3:08pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274 "2022-08-26T15:08:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [August 26, 2022, 3:08pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/1 "2022-08-26T15:08:17Z")

</div>

For some reason, there is this color in my email background: `#052e3d`

I don’t know where it is coming from. How do I change it?

`email accent bg color` is `#222b45` which is not working.

 ![admin-email-preview-digest](https://global.discourse-cdn.com/meta/original/4X/d/c/3/dc36690112a4f37905ae8c3baa600301c95a3473.jpeg)

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [October 2, 2023, 5:31pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/2 "2023-10-02T17:31:03Z")

</div>

I’m also seeing this. I believe the digest used the value from the default tertiary or quaternary color variable. But now it’s just default blue? Or does it use another variable now? However I couldn’t find it.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [October 2, 2023, 5:53pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/3 "2023-10-02T17:53:40Z")

</div>

The dark mode style seems hardcoded here and I think it can’t be override. Maybe with plugin it’s possible but I’m not sure:

> <https://github.com/discourse/discourse/blob/fe15218d8f461f66df1a6b5e83c5a65d7688ef00/app/helpers/email_helper.rb#L100C1-L103>

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [October 2, 2023, 5:58pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/4 "2023-10-02T17:58:42Z")

</div>

Can it be changed with admin-settings- `email accent bg color` ?

 ![email_colors](https://global.discourse-cdn.com/meta/original/4X/d/4/c/d4cf7348acc265f313a7271c7c22394860ce53e2.png)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [October 2, 2023, 6:13pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/5 "2023-10-02T18:13:37Z")

</div>

Yeah the light mode colors have settings but the dark mode colors are hardcoded in the iframe.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [October 2, 2023, 8:39pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/6 "2023-10-02T20:39:39Z")

</div>

Just a little update… I was wrong… it can be override in

`/admin/customize/email_style/html` and  
`/admin/customize/email_style/css`

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [October 2, 2023, 8:42pm UTC](https://meta.discourse.org/t/email-digest-having-its-own-colors/237274/7 "2023-10-02T20:42:21Z")

</div>

OMG I totally forgot about the email style templates! Thanks for the reminder 🙂 👏
