How to get Color object in java from css-style string which describes color?
Posted
by Roman
on Stack Overflow
See other posts from Stack Overflow
or by Roman
Published on 2010-05-13T12:55:52Z
Indexed on
2010/05/13
13:34 UTC
Read the original article
Hit count: 148
For example, I have strings #0f0
, #00FF00
, green
and in all cases I want to transform them to Color.GREEN
.
Are there any standard ways or maybe some libraries have necessary functionality?
© Stack Overflow or respective owner