se.datadosen.util
Class Colors

java.lang.Object
  extended by se.datadosen.util.Colors

public class Colors
extends java.lang.Object

Utility Color class


Method Summary
static java.awt.Color getHTMLColor(java.lang.String htmlColor)
          Parse color strings in the #rrggbb hex format and standard html color string format Also handle comma-separated list of r,g,b,(a) integer values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHTMLColor

public static java.awt.Color getHTMLColor(java.lang.String htmlColor)
                                   throws java.lang.IllegalArgumentException
Parse color strings in the #rrggbb hex format and standard html color string format Also handle comma-separated list of r,g,b,(a) integer values

Parameters:
htmlColor -
Returns:
Throws:
java.lang.IllegalArgumentException