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

RGBA calc error when change alpha #163

Open
ZiQiangWang opened this issue Nov 7, 2021 · 2 comments · May be fixed by #184
Open

RGBA calc error when change alpha #163

ZiQiangWang opened this issue Nov 7, 2021 · 2 comments · May be fixed by #184

Comments

@ZiQiangWang
Copy link

The initial color is { r: 200, g: 120, b: 35, a: 0.5 }, when I change alpha, it become to { r: 199, g: 119, b: 34, a: 0.5 }
https://codesandbox.io/s/react-colorful-rgb-forked-qo0v7?file=/src/App.js

@ZiQiangWang
Copy link
Author

@omgovich

@omgovich
Copy link
Owner

omgovich commented Nov 8, 2021

Hi! Thanks for the issue! I think it shouldn't be hard to fix. Unfortunately, I'm on vacation (in another country): will do my best to release the patch next week.

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

Successfully merging a pull request may close this issue.

2 participants