# Transform green svg into white svg

**URL:** <https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958>\
**Category:** Need help\
**Created:** [June 5, 2026, 3:38pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958 "2026-06-05T15:38:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![adig](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adig/32/240003_2.png) [@adig](https://forum.bubble.io/u/adig)\
**Post date:** [June 5, 2026, 3:38pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/1 "2026-06-05T15:38:10Z")

</div>

Hi guys,

Is there a way to transform some SVG icons from green, already in my database, to white with nginx without installing a plugin for this?

---

<div class="post-metadata">

**Author:** ![senecadatabase](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/senecadatabase/32/260991_2.png) [@senecadatabase](https://forum.bubble.io/u/senecadatabase)\
**Post date:** [June 5, 2026, 3:41pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/2 "2026-06-05T15:41:18Z")

</div>

No.

Why don’t you use 2 SVG icons… one green and one white, and use a conditional?

---

<div class="post-metadata">

**Author:** ![adig](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adig/32/240003_2.png) [@adig](https://forum.bubble.io/u/adig)\
**Post date:** [June 5, 2026, 4:01pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/3 "2026-06-05T16:01:05Z")

</div>

impossible. i ve got an option set of 40 svgs all colour green. To use white ones, I’d have to reupload all of them just for this special group. I’m displaying them in an RG so they ALL must be white. any other hacks?

---

<div class="post-metadata">

**Author:** ![tim12333](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tim12333/32/260227_2.png) [@tim12333](https://forum.bubble.io/u/tim12333)\
**Post date:** [June 5, 2026, 4:33pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/4 "2026-06-05T16:33:55Z")

</div>

You can use JS or CSS.

Set the ID of the group, then add some CSS to your page like

```auto
#svgIcon {
    filter: brightness(0) invert(1);
}

```

---

<div class="post-metadata">

**Author:** ![adig](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adig/32/240003_2.png) [@adig](https://forum.bubble.io/u/adig)\
**Post date:** [June 6, 2026, 8:29am UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/5 "2026-06-06T08:29:43Z")

</div>

does this work on the mobile app editor?

---

<div class="post-metadata">

**Author:** ![senecadatabase](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/senecadatabase/32/260991_2.png) [@senecadatabase](https://forum.bubble.io/u/senecadatabase)\
**Post date:** [June 6, 2026, 11:28am UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/6 "2026-06-06T11:28:07Z")

</div>

Sorry.

Didn’t realize you were using the mobile app builder.

I did ask cursor which we use a lot and got this response:

If you are building a native mobile app and need icons or SVGs to change color dynamically (like a tab bar changing from gray to a high-contrast orange/pink when selected), you should use the **Native Image Element** combined with **Conditional Visibility**.

So, pretty much the same response I gave for a web app.

Maybe someone with more experience with the mobile app builder can help.

I have no experience with the mobile app builder, as I have no need to use it

---

<div class="post-metadata">

**Author:** ![philipp.laengle107](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/philipp.laengle107/32/262608_2.png) [@philipp.laengle107](https://forum.bubble.io/u/philipp.laengle107)\
**Post date:** [June 7, 2026, 3:16pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/7 "2026-06-07T15:16:38Z")

</div>

You could probably use buildprint to tell it → create a white version of each SVG and put it in the correct os item

---

<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:** [August 14, 2026, 3:38pm UTC](https://forum.bubble.io/t/transform-green-svg-into-white-svg/396958/8 "2026-08-14T15:38:56Z")

</div>

Closed on August 14, 2026, 3:38pm UTC

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