public class ColorUtil
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ColorUtil
public ColorUtil()
-
Method Details
-
gray
public static Color gray(int grayVal)
-
-
-
lighter
public static Color lighter(Color clr,
double saturationFraction)
-
saturate
public static Color saturate(Color clr,
double saturation)
-
getHue
public static float getHue(Color clr)
-
setAlpha
public static Color setAlpha(Color clr,
int alpha)