- All Known Implementing Classes:
FlatColors,FlatUIColors,MaterialDesignColors,MetroColors,SocialColors
public interface Colors
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.paint.Colorget()Returns the corresponding JavaFX color.rgb()Returns a String expression from the color with the format: colorToRGB(12, 121, 15)rgba(double OPACITY) Returns a String expression from the color and opacity with the format: colorToRGBA(12, 121, 15, 0.5)web()Returns a String expression from the color with the format: #AB12CD
-
Method Details
-
get
javafx.scene.paint.Color get()Returns the corresponding JavaFX color.- Returns:
- the corresponding JavaFX color.
-
rgb
String rgb()Returns a String expression from the color with the format: colorToRGB(12, 121, 15)- Returns:
- the String expression.
-
rgba
Returns a String expression from the color and opacity with the format: colorToRGBA(12, 121, 15, 0.5)- Returns:
- the String expression.
-
web
String web()Returns a String expression from the color with the format: #AB12CD- Returns:
- the String expression.
-