# Use custom icons with curentColor

**URL:** <https://meta.discourse.org/t/use-custom-icons-with-curentcolor/198704>\
**Category:** Product Support\
**Created:** [July 30, 2021, 3:22pm UTC](https://meta.discourse.org/t/use-custom-icons-with-curentcolor/198704 "2021-07-30T15:22:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [July 30, 2021, 3:29pm UTC](https://meta.discourse.org/t/use-custom-icons-with-curentcolor/198704/2 "2021-07-30T15:29:36Z")

</div>

As far as I know `currentColor` won’t work with SVGs inlined with CSS, unfortunately the colors need to be hardcoded in the SVG. One workaround I’ve used before to change the colors are [CSS filters](https://developer.mozilla.org/en-US/docs/Web/CSS/filter), but those have shortcomings as well.

---

_[View the full topic](https://meta.discourse.org/t/use-custom-icons-with-curentcolor/198704)._
