Class ColorUtils
java.lang.Object
net.sourceforge.plantuml.ugraphic.color.ColorUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
static int
getGrayScale
(int rgb) static int
getGrayScale
(int red, int green, int blue) static int
getGrayScale
(Color color) static Color
getGrayScaleColor
(Color color) static Color
getGrayScaleColorReverse
(Color color) static Color
getReversed
(Color color) static Color
grayToColor
(double coef, Color color) static Color
reverseHsluv
(Color color)
-
Constructor Details
-
ColorUtils
public ColorUtils()
-
-
Method Details
-
getGrayScale
-
getGrayScale
public static int getGrayScale(int red, int green, int blue) -
distance
-
getGrayScale
public static int getGrayScale(int rgb) -
getGrayScaleColor
-
getGrayScaleColorReverse
-
reverseHsluv
-
grayToColor
-
getReversed
-