public class HexColor extends ColorReference
ColorReference defined by a hex string.| Constructor and Description |
|---|
HexColor(String hexColor)
Constructs a color reference by defining a hex color string.
|
| Modifier and Type | Method and Description |
|---|---|
protected ColorReference |
copy() |
static ColorReference |
fromString(String color) |
static List<ColorReference> |
fromStrings(String color1,
String... colors) |
String |
getHexColor() |
brighten, getBrightness, isNull, setBrightnesspublic HexColor(String hexColor)
hexColor - the hex color string (e.g. "#ffffff").public static ColorReference fromString(String color)
public static List<ColorReference> fromStrings(String color1, String... colors)
protected ColorReference copy()
copy in class ColorReferencepublic String getHexColor()
Copyright © 2013. All Rights Reserved.