Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support Alpha channel in colours #33

Open
ChiefWiggum opened this issue May 21, 2019 · 2 comments
Open

Feature: Support Alpha channel in colours #33

ChiefWiggum opened this issue May 21, 2019 · 2 comments

Comments

@ChiefWiggum
Copy link

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

@ChiefWiggum
Copy link
Author

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.

@LasseRafn
Copy link
Owner

Very good idea! I will look into a solution — definitively something I'd want it to support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants