# Text color isn't the same between editor and visualizer (dev version)

**URL:** <https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515>\
**Category:** Need help\
**Created:** [March 20, 2023, 10:36am UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515 "2023-03-20T10:36:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billy44](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@Billy44](https://forum.bubble.io/u/Billy44)\
**Post date:** [March 20, 2023, 10:36am UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515/1 "2023-03-20T10:36:12Z")

</div>

Hi,

The color of some text isn’t the same between the Bubble editor and when it is displayed online.

Is it a bug or is there any way to fix this ?

Online

 ![Capture d’écran 2023-03-20 à 11.30.17](https://us1.discourse-cdn.com/bubble/original/3X/3/c/3c81088ba539ea0f23dc13b343cc87b4abeb5fb0.png)

Editor

 ![Capture d’écran 2023-03-20 à 11.30.03](https://us1.discourse-cdn.com/bubble/original/3X/7/6/764c42701f1f851ec638c6ac639a060c847f9c0c.png)

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [March 20, 2023, 10:57am UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515/2 "2023-03-20T10:57:55Z")

</div>

Are you using a dynamic expression for your color value? Probably, most likely, which would explain the difference.

---

<div class="post-metadata">

**Author:** ![Billy44](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@Billy44](https://forum.bubble.io/u/Billy44)\
**Post date:** [March 20, 2023, 11:12am UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515/3 "2023-03-20T11:12:18Z")

</div>

I do use **Styles** for the color, but why would it explain the difference ?

![Capture d’écran 2023-03-20 à 12.11.36](https://us1.discourse-cdn.com/bubble/original/3X/e/6/e6ce4033d8fd36be416f8652ba168cd38ed6b749.png)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [March 20, 2023, 3:44pm UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515/4 "2023-03-20T15:44:07Z")

</div>

This style likely is using a gradient and potentially it is not capable of being rendered in the editor.

I know for sure using a dynamic expression for a color doesn’t allow the color in the editor to be visible, because it is dynamic so the editor would never know what data value would actually ever get loaded, much the same way a dynamic text value may appear in the editor as ‘parent groups Users Name’ but on page that value is shown as ‘Jane Doe’.

I don’t know what your style is, but I do know you can trick the system for the style to use a dynamic color, but normally if attempting to create a style from the style editor, it is normally not possible to use a dynamic expression in a style. I’ve been asking for that ability since 2020, and not sure if it was recently added in or not.

Does your style use a dynamic expression for the color?

If not, you may want to send a bug report to bubble about the issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 29, 2023, 10:36am UTC](https://forum.bubble.io/t/text-color-isnt-the-same-between-editor-and-visualizer-dev-version/252515/5 "2023-05-29T10:36:46Z")

</div>

Closed on May 29, 2023, 10:36am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
