public final class RGBColor extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getColor(String name)
Gets color integers provided color names.
|
public static int getColor(String name) throws IOException, IllegalArgumentException
name - the name of the color or a hex valueint in 8 bit RGB formatNullPointerException - if name is nullIllegalArgumentException - if unable to determine the colorIOExceptionCopyright © 2016. All rights reserved.