public class Color extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOUBLE_CROSS
Color # before hex.
|
static int |
HEX_CONSTANT
HEX_CONSTANT.
|
protected static org.slf4j.Logger |
LOGGER
Logger.
|
static String |
NO_COLOR
Color NO_COLOR.
|
public static final String DOUBLE_CROSS
public static final String NO_COLOR
public static final int HEX_CONSTANT
protected static final org.slf4j.Logger LOGGER
public Color(String hexOrRgb)
hexOrRgb - hex or rgb as Stringpublic String getRgb()
public void setRgb(String aRgb)
aRgb - the rgb to setpublic String getHex()
public void setHex(String aHex)
aHex - the hex to setpublic String rgbToHex(String aRgb)
aRgb - to transform to hex color codeCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.