public class ColorUtils extends Object
Constructor and Description |
---|
ColorUtils() |
Modifier and Type | Method and Description |
---|---|
static Color |
add(Color color1,
Color color2) |
static Color |
average(Color color1,
Color color2) |
static float |
getLuminance(Color color) |
static Color |
multiply(Color color1,
Color color2) |
static Color |
screen(Color color1,
Color color2) |
static Color |
subtract(Color color1,
Color color2) |
static String |
toHtmlColor(Color color) |
public static final String copyright
public static float getLuminance(Color color)