I have an image that I'm trying to change the color of, I have a <ul>
of colors, all displayed in small squares. I want to modify the color of my image based on which box the user clicks.
<li swatch="3FB8AF"></li>
<li swatch="7FC7AF"></li>
<li swatch="DAD8A7"></li>
<li swatch="FF9E9D"></li>
<li swatch="FF3D7F"></li>
Ex. If someone clicks, <li swatch="7BE0D0"></li>
, the image should change to that color.