Java javafx.scene.paint Color fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.paint Color fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.paint Color.

The text is from its open source code.

Field

ColorTRANSPARENT
A fully transparent color with an ARGB value of #00000000.
ColorALICEBLUE
The color alice blue with an RGB value of #F0F8FF
ColorAZURE
The color azure with an RGB value of #F0FFFF
ColorBEIGE
The color beige with an RGB value of #F5F5DC
ColorBLACK
The color black with an RGB value of #000000
ColorBLUE
The color blue with an RGB value of #0000FF
ColorBLUEVIOLET
The color blue violet with an RGB value of #8A2BE2
ColorCHOCOLATE
The color chocolate with an RGB value of #D2691E
ColorCORNFLOWERBLUE
The color cornflower blue with an RGB value of #6495ED
ColorCYAN
The color cyan with an RGB value of #00FFFF
ColorDARKBLUE
The color dark blue with an RGB value of #00008B
ColorDARKGREEN
The color dark green with an RGB value of #006400
ColorDARKORANGE
The color dark orange with an RGB value of #FF8C00
ColorDARKRED
The color dark red with an RGB value of #8B0000
ColorFIREBRICK
The color firebrick with an RGB value of #B22222
ColorFORESTGREEN
The color forest green with an RGB value of #228B22
ColorGAINSBORO
The color gainsboro with an RGB value of #DCDCDC
ColorGHOSTWHITE
The color ghost white with an RGB value of #F8F8FF
ColorGOLD
The color gold with an RGB value of #FFD700
ColorGOLDENROD
The color goldenrod with an RGB value of #DAA520
ColorGRAY
The color gray with an RGB value of #808080
ColorGREEN
The color green with an RGB value of #008000
ColorGREENYELLOW
The color green yellow with an RGB value of #ADFF2F
ColorGREY
The color grey with an RGB value of #808080
ColorLIGHTBLUE
The color light blue with an RGB value of #ADD8E6
ColorLIGHTGRAY
The color light gray with an RGB value of #D3D3D3
ColorLIGHTGREEN
The color light green with an RGB value of #90EE90
ColorLIGHTGREY
The color light grey with an RGB value of #D3D3D3
ColorLIGHTSTEELBLUE
The color light steel blue with an RGB value of #B0C4DE
ColorLIME
The color lime with an RGB value of #00FF00
ColorMAGENTA
The color magenta with an RGB value of #FF00FF
ColorMEDIUMAQUAMARINE
The color medium aquamarine with an RGB value of #66CDAA
ColorOLDLACE
The color old lace with an RGB value of #FDF5E6
ColorORANGE
The color orange with an RGB value of #FFA500
ColorPURPLE
The color purple with an RGB value of #800080
ColorRED
The color red with an RGB value of #FF0000
ColorSALMON
The color salmon with an RGB value of #FA8072
ColorSILVER
The color silver with an RGB value of #C0C0C0
ColorTURQUOISE
The color turquoise with an RGB value of #40E0D0
ColorVIOLET
The color violet with an RGB value of #EE82EE
ColorWHITE
The color white with an RGB value of #FFFFFF
ColorWHITESMOKE
The color white smoke with an RGB value of #F5F5F5
ColorYELLOW
The color yellow with an RGB value of #FFFF00
ColorYELLOWGREEN
The color yellow green with an RGB value of #9ACD32

Constructor

Method

ColorderiveColor(double hueShift, double saturationFactor, double brightnessFactor, double opacityFactor)
Creates a new Color based on this Color with hue, saturation, brightness and opacity values altered.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
doublegetBlue()
The blue component of the Color , in the range 0.0-1.0 .
doublegetBrightness()
Gets the brightness component of this Color .
doublegetGreen()
The green component of the Color , in the range 0.0-1.0 .
doublegetHue()
Gets the hue component of this Color .
doublegetOpacity()
The opacity of the Color , in the range 0.0-1.0 .
doublegetRed()
The red component of the Color , in the range 0.0-1.0 .
doublegetSaturation()
Gets the saturation component of this Color .
Colorhsb(double hue, double saturation, double brightness, double opacity)
Creates a Color based on the specified values in the HSB color model, and a given opacity.
Colorhsb(double hue, double saturation, double brightness)
Creates an opaque Color based on the specified values in the HSB color model.
booleanisOpaque()
Colorrgb(int red, int green, int blue)
Creates an opaque sRGB color with the specified RGB values in the range 0-255 .
Colorrgb(int red, int green, int blue, double opacity)
Creates an sRGB color with the specified RGB values in the range 0-255 , and a given opacity.
StringtoString()
Returns a string representation of this Color .
ColorvalueOf(String value)
Creates a color value from a string representation.
Colorweb(String colorString)
Creates an RGB color specified with an HTML or CSS attribute string.
Colorweb(String colorString, double opacity)
Creates an RGB color specified with an HTML or CSS attribute string.