How to get Color object in java from css-style string which describes color?
- by Roman
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?