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

rgb values as percentages aren't converted correctly #13

Closed
jfstephe opened this issue Aug 31, 2023 · 1 comment
Closed

rgb values as percentages aren't converted correctly #13

jfstephe opened this issue Aug 31, 2023 · 1 comment

Comments

@jfstephe
Copy link

jfstephe commented Aug 31, 2023

rgbHex("rgb(100%, 50%, 0%)")
should in theory return
"FF8000"
but it returns "643200"

(this isn't a major problem for me ATM but just an FYI)

@jfstephe
Copy link
Author

jfstephe commented Sep 1, 2023

Wow. You are a machine! :-)

Nice one.

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