Package com.jackmeng.stl
Class stl_Colors
java.lang.Object
com.jackmeng.stl.stl_Colors
public final class stl_Colors
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description private
stl_Colors()
-
Method Summary
Modifier and Type Method Description static java.awt.Color
hexToRGB(java.lang.String hex)
Attempts to turn a HEX represented Color into the java.awt.Color objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
stl_Colors
private stl_Colors()
-
-
Method Details
-
hexToRGB
public static java.awt.Color hexToRGB(java.lang.String hex)Attempts to turn a HEX represented Color into the java.awt.Color object- Parameters:
hex
- A HEX String- Returns:
- A color object
- See Also:
Color
-