Package com.spun.util
Class Colors
java.lang.Object
com.spun.util.Colors
Every color under the
r
a
i
n
b
o
w
, and different ways to get them.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcalculateTransparency(int percentTransparent) static Colorstatic Colorstatic ColorgetTransparentVersion(Color color, int percentTransparency) static Colorstatic void
-
Constructor Details
-
Colors
public Colors()
-
-
Method Details
-
darken
-
lighten
-
getRandomColor
-
mockRandom
public static void mockRandom() -
calculateTransparency
public static int calculateTransparency(int percentTransparent) -
getTransparentVersion
-