-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!
Description
A Color can be constructed by passing a hex code into the initializer, but it would be convenient if a static method were also present to compliment the existing FromARGB() and similar static methods
Actually, I just realized there's already a FromHex() here:
| public static Color FromHex(string hex) => new(hex); |
The best fix is to add a line beneath that, something like:
public static Color FromHtml(string html) => new(html);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!