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

Alpha transparency #32

Open
ben-eb opened this issue Jan 24, 2016 · 6 comments
Open

Alpha transparency #32

ben-eb opened this issue Jan 24, 2016 · 6 comments

Comments

@ben-eb
Copy link
Collaborator

ben-eb commented Jan 24, 2016

Just leaving this as a note to get back to when I (or anyone else, PR welcome) have time.

markusn/color-diff#8 (comment)

@bjb568
Copy link

bjb568 commented May 1, 2016

There should be an option to ignore alpha so #000 and rgba(0, 0, 0, 0.3) are considered different.

@captbaritone
Copy link

I would expect this to be the default behavior.

@SlexAxton
Copy link
Owner

@captbaritone do you have a suggestion on how to implement it safely?

#000 and rgba(0,0,0,0.3) may be exactly the same, or very different depending on the color of the element behind it.

@Sigiller
Copy link

Can we just multiply diffAmount by the difference between the alpha сhannel values of colors?

@ai
Copy link

ai commented Aug 10, 2016

@Sigiller @kbytin @XOP do you want to send PR for it?

@XOP
Copy link

XOP commented Aug 10, 2016

not in the nearest future, sorry

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

No branches or pull requests

7 participants