Java com.vaadin.shared.ui.colorpicker Color fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.shared.ui.colorpicker Color fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.shared.ui.colorpicker Color.

The text is from its open source code.

Subclass

com.vaadin.shared.ui.colorpicker.Color has subclasses.
Click this link to see all its subclasses.

Field

ColorWHITE

Constructor

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].

Method

intgetAlpha()
Returns the alpha value of the color.
intgetBlue()
Returns the blue value of the color.
StringgetCSS()
Returns CSS representation of the Color, e.g.
intgetGreen()
Returns the green value of the color.
float[]getHSV()
Returns converted HSV components of the color.
intgetRed()
Returns the red value of the color.
intHSVtoRGB(float hue, float saturation, float value)

Converts HSV's hue, saturation and value into an RGB value.