Provide conversion from CSS style/formatted colors to 'Color'
twyatt opened this issue · comments
Travis Wyatt commented
When the time comes though, how do you feel about simply
fun String.toColor()
?
Originally posted by @cedrickcooke in #21 (comment)
Cedrick Cooke commented
Implemented for built in color names and for hex notation (#rgb
, etc). Does not yet support rgb(...)
or other function-like forms.