How to change the colour
Set color on the icon or any parent: .nav a { color: #2F5BFF }. Duo icons also read --with-duo for their soft fill.
a 2-minute guide
Paste the icon’s SVG code into your HTML, or add one stylesheet and write <i class="with with-home"></.
SVG
Inline SVG is the sharpest, smallest and easiest to colour: it follows your CSS text colour. Icon classes do the same with one line of HTML per icon.
Open the library, click an icon and press Copy SVG.
Paste the code where you want the icon. It’s plain HTML: no files to upload, nothing to install.
Add the stylesheet once in your <head>, then write one tag per icon. No JavaScript needed.
Icons use currentColor, so they take the text colour: color: #FF5A36. Hover colours work too.
Icon classes are 1em square, so font-size: 32px makes a 32 px icon. For inline SVG, change width and height.
Set color on the icon or any parent: .nav a { color: #2F5BFF }. Duo icons also read --with-duo for their soft fill.
Inline SVG: change width and height. Icon classes: change font-size, or add with-2x … with-5x.
You used an <img> tag. Images can’t inherit CSS colour; paste the SVG inline or use icon classes.
Check the stylesheet link is in your <head> and the class names are right: with with-home.
Decorative icons should stay silent. If the icon is the only content of a button, add aria-label to the button.
a shortcut
Click Claude, ChatGPT, Gemini, Perplexity or Grok. We copy a ready brief (“help me add an icon to my Plain HTML website project”) that points it to our skill file and this guide, and open it for you. Tell it what the icon is for: it finds the right one, then walks you through adding, recolouring and sizing it.
500 icons, twenty styles, all free.
Browse icons