# Chapter 3 lesson 21 Icon color

**URL:** <https://forum.codewithmosh.com/t/chapter-3-lesson-21-icon-color/7867>\
**Category:** HTML/CSS\
**Created:** [October 11, 2021, 4:29pm UTC](https://forum.codewithmosh.com/t/chapter-3-lesson-21-icon-color/7867 "2021-10-11T16:29:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [October 12, 2021, 12:34pm UTC](https://forum.codewithmosh.com/t/chapter-3-lesson-21-icon-color/7867/3 "2021-10-12T12:34:51Z")

</div>

Hi,  
I’ve ran into the same issue & found what was the problem is.

If you copied the **sprite.svg** file that mosh have provided then you are good to go.

But, if you have generated the **sprite.svg** file as mosh told you by yourself, the syntax of your **sprite.svg** file would be different from moshes ​ **sprite.svg** file.

So just search for `id="snap"` (you can use **CTR+F** to look it up in your file) & then there is an inline styles `fill="rgb(0,0,0)"` that you nedd to get rid of and the problem got solved. 🙂

 ![Snap](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/1/1d98b4c982214bee1d9b44382d602286b2aafac7.jpeg)

---

_[View the full topic](https://forum.codewithmosh.com/t/chapter-3-lesson-21-icon-color/7867)._
