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

Provide conversion from CSS style/formatted colors to 'Color' #22

Open
twyatt opened this issue Mar 18, 2021 · 1 comment
Open

Provide conversion from CSS style/formatted colors to 'Color' #22

twyatt opened this issue Mar 18, 2021 · 1 comment

Comments

@twyatt
Copy link
Member

twyatt commented Mar 18, 2021

When the time comes though, how do you feel about simply fun String.toColor()?

Originally posted by @cedrickcooke in #21 (comment)

@cedrickcooke
Copy link
Contributor

cedrickcooke commented Apr 2, 2021

Implemented for built in color names and for hex notation (#rgb, etc). Does not yet support rgb(...) or other function-like forms.

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

2 participants