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

Incorrectly parse hexa to rgba to hexa #97

Open
MrKou47 opened this issue Sep 26, 2022 · 0 comments
Open

Incorrectly parse hexa to rgba to hexa #97

MrKou47 opened this issue Sep 26, 2022 · 0 comments

Comments

@MrKou47
Copy link

MrKou47 commented Sep 26, 2022

actual:

const expectValue = '#cc88'
colord(colord(expectValue).toRgbString()).toHex() !== expectValue // #cccc8887

expect:

const expectValue = '#cc88'
colord(colord(expectValue).toRgbString()).toHex() !== expectValue // toHex() return value should equal to expectValue
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

1 participant