Example usage for Java com.vaadin.shared.ui.colorpicker Color fields, constructors, methods, implement or subclass
The text is from its open source code.
Color | WHITE |
Color(int red, int green, int blue) Creates a color that has the specified red, green, and blue values within the range [0 - 255]. | |
Color(int rgb) Creates a color based on an RGB value. | |
Color(int red, int green, int blue, int alpha) Creates a color that has the specified red, green, blue, and alpha values within the range [0 - 255]. |
int | getAlpha() Returns the alpha value of the color. |
int | getBlue() Returns the blue value of the color. |
String | getCSS() Returns CSS representation of the Color, e.g. |
int | getGreen() Returns the green value of the color. |
float[] | getHSV() Returns converted HSV components of the color. |
int | getRed() Returns the red value of the color. |
int | HSVtoRGB(float hue, float saturation, float value) Converts HSV's hue, saturation and value into an RGB value. |