Constructor and Description |
---|
ColorUtil() |
Modifier and Type | Method and Description |
---|---|
static Color |
blend(Color inColor1,
Color inColor2)
Returns a equal proportion blend of the specified Colors.
|
static Color |
blend(Color inColor1,
Color inColor2,
float inProportion)
Returns a Color blended in the specified proportions.
|
static String |
colorToHex(Color inColor)
Converts a Color object in to a hex string.
|
public ColorUtil()
public static String colorToHex(Color inColor)
Color.decode() can be used to convert a hex string into a Color object.
public static Color blend(Color inColor1, Color inColor2)