Package lu.kbra.modelizer_next.common
Class ColorUtils
java.lang.Object
lu.kbra.modelizer_next.common.ColorUtils
Utility methods for serializing, deserializing, and deriving AWT colors.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ColorUtils
public ColorUtils()
-
-
Method Details
-
ofArgb
Creates a value from the supplied argb.- Parameters:
argb- numeric argb value- Returns:
- the of argb result
-
ofHex
Creates a value from the supplied hex.- Parameters:
string- text value for string- Returns:
- the of hex result
-
ofRgb
Creates a value from the supplied rgb.- Parameters:
rgb- numeric rgb value- Returns:
- the of rgb result
-