ui-avatars
ui-avatars copied to clipboard
Feature: Support Alpha channel in colours
Hi there,
it would be great to have the option to pass in a background or a text colour that supports alpha channels with the RGBA format #RRGGBBAA
or #RGBA
, e.g.
https://ui-avatars.com/api/?background=a0a0a00f
The nice thing about beeing able to set an alpha channel, is that it can also be set to a semi transparent level, not just fully transparent or fully visible.
Btw: The url with the 8 digit colour code currently results in a broken 0x0 pixel image.
Cheers
I've realised, that you're using Intervention/image and that they currently don't support an alpha channel via hex and therefore opened an issue there as well.
Very good idea! I will look into a solution — definitively something I'd want it to support