We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
Most of the time when implementing a UI design, colors comes in hex values. Having to manually convert hex to RGBA is kind tedious and time consuming.
Describe the solution you'd like
new method in Color32
Color32::from_hex("#0d1117")
The text was updated successfully, but these errors were encountered:
This would be nice - especially if it could be a const fn or macro, so any typos could be caught at compile time.
const fn
I think what we would want to support is only the #rrggbb and #rrggbbaa formats, not the other weird CSS formats
#rrggbb
#rrggbbaa
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Most of the time when implementing a UI design, colors comes in hex values. Having to manually convert hex to RGBA is kind tedious and time consuming.
Describe the solution you'd like
new method in Color32
The text was updated successfully, but these errors were encountered: