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

[BUG] hex method discards alpha #238

Closed
devkvlt opened this issue Dec 20, 2021 · 3 comments
Closed

[BUG] hex method discards alpha #238

devkvlt opened this issue Dec 20, 2021 · 3 comments

Comments

@devkvlt
Copy link

devkvlt commented Dec 20, 2021

Fix: npm uninstall color

@devkvlt devkvlt changed the title [BUG] hex method disregards alpha [BUG] hex method discards alpha Dec 20, 2021
@Qix-
Copy link
Owner

Qix- commented Dec 20, 2021

This isn't a bug, it's just part of how the library works. Please search the issues next time.

Duplicate of #72.

@Qix- Qix- closed this as completed Dec 20, 2021
@devkvlt
Copy link
Author

devkvlt commented Dec 20, 2021

Please search the issues next time.

Boldly implying I didn't..

This isn't a bug

Discarding user information without even throwing an exception is a massive bug.. It's okay if you don't want to add something like hexa and ahex in your lib, but at least do us the courtesy of throwing an error when we use hex method on a color that has alpha.

@Qix-
Copy link
Owner

Qix- commented Dec 21, 2021

No thanks, and the tone isn't appreciated.

Repository owner locked as resolved and limited conversation to collaborators Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants