You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's not a big problem, but as a web developer and designer, I work with hex color values much more often than RGB values.
Describe the solution you'd like
I really like that you can use hex in markup - but you can't actually create an instance of the Color class with a hex value. I have a helper function that automatically converts hex to RGB to fill this void, but it would be great to avoid that step entirely.
Describe alternatives you've considered
Just using a helper function to convert to HEX on the fly.
Additional context
Example (Note: I'm using a Powershell wrapper here, but the implementation is more or less the same)
This first example doesn't work, but would be awesome if it did.
Is your feature request related to a problem? Please describe.
It's not a big problem, but as a web developer and designer, I work with hex color values much more often than RGB values.
Describe the solution you'd like
I really like that you can use hex in markup - but you can't actually create an instance of the
Color
class with a hex value. I have a helper function that automatically converts hex to RGB to fill this void, but it would be great to avoid that step entirely.Describe alternatives you've considered
Just using a helper function to convert to HEX on the fly.
Additional context
Example (Note: I'm using a Powershell wrapper here, but the implementation is more or less the same)
This first example doesn't work, but would be awesome if it did.
This, of course, works:
The way the BarChart is instantiated / created doesn't involve markup - so I can't use Hex. Hopefully all of this is clear.
Really appreciate the hard work, and any consideration on this improvement.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: