harperreed / effigy.im

This is a simple service that will return a identicon of an ethereum address. You can use this to power avatars or whatever in your webapp
https://effigy.im/
MIT License
18 stars 3 forks source link

Using RGB instead of HSL on SVGs? #11

Open jounih opened 3 years ago

jounih commented 3 years ago

Great work, very useful!

Small query - would it be possible to use RGB instead of HSL on SVGs? Two benefits:

  1. Right now Figma or Illustrator can't parse the colours (HSL on SVG import not supported) - so they both show a black box when importing the generated SVGs
  2. Slightly smaller file size - ie. rgb(86, 30, 63) instead of hsl(325,48.64401903003454%,22.80696037923917%) that is used currently

Thanks!

harperreed commented 3 years ago

Good update. Will investigate.