# Uses of Class
javafx.scene.paint.Color

Packages that use Color
Package
Description
javafx.animation
Provides the set of classes for ease of use transition based animations.
javafx.css
Provides API for making properties styleable via CSS and for supporting pseudo-class state.
javafx.css.converter
Provides various `StyleConverter` classes that convert CSS parsed values.
javafx.scene
Provides the core set of base classes for the JavaFX Scene Graph API.
javafx.scene.control
The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.
javafx.scene.control.skin
The javafx.scene.control.skin package is where the skin classes, typically one for each UI control, are located
javafx.scene.effect
Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.
javafx.scene.image
Provides the set of classes for loading and displaying images.
javafx.scene.paint
Provides the set of classes for colors and gradients used to fill shapes and backgrounds when rendering the scene graph.
javafx.scene.robot
Provides API for simulating user interaction such as typing keys on the keyboard and using the mouse.

- ## Uses of Color in javafx.animation

  Methods in javafx.animation that return Color
  Modifier and Type
  Method
  Description
  `final Color`
  FillTransition.`getFromValue()`
  Gets the value of the property fromValue.
  `final Color`
  StrokeTransition.`getFromValue()`
  Gets the value of the property fromValue.
  `final Color`
  FillTransition.`getToValue()`
  Gets the value of the property toValue.
  `final Color`
  StrokeTransition.`getToValue()`
  Gets the value of the property toValue.
  Methods in javafx.animation that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final ObjectProperty<Color>`
  FillTransition.`fromValueProperty()`
  Specifies the start color value for this `FillTransition`.
  `final ObjectProperty<Color>`
  StrokeTransition.`fromValueProperty()`
  Specifies the start color value for this `StrokeTransition`.
  `final ObjectProperty<Color>`
  FillTransition.`toValueProperty()`
  Specifies the stop color value for this `FillTransition`.
  `final ObjectProperty<Color>`
  StrokeTransition.`toValueProperty()`
  Specifies the stop color value for this `StrokeTransition`.
  Methods in javafx.animation with parameters of type Color
  Modifier and Type
  Method
  Description
  `final void`
  FillTransition.`setFromValue(Color value)`
  Sets the value of the property fromValue.
  `final void`
  StrokeTransition.`setFromValue(Color value)`
  Sets the value of the property fromValue.
  `final void`
  FillTransition.`setToValue(Color value)`
  Sets the value of the property toValue.
  `final void`
  StrokeTransition.`setToValue(Color value)`
  Sets the value of the property toValue.
  Constructors in javafx.animation with parameters of type Color
  Modifier
  Constructor
  Description
  ``
  `FillTransition(Duration duration, Color fromValue, Color toValue)`
  The constructor of `FillTransition`
  ``
  `FillTransition(Duration duration, Shape shape, Color fromValue, Color toValue)`
  The constructor of `FillTransition`
  ``
  `StrokeTransition(Duration duration, Color fromValue, Color toValue)`
  The constructor of `StrokeTransition`
  ``
  `StrokeTransition(Duration duration, Shape shape, Color fromValue, Color toValue)`
  The constructor of `StrokeTransition`

- ## Uses of Color in javafx.css

  Methods in javafx.css that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function)`
  Create a CssMetaData<S, Color> with initial value of Color.BLACK, and inherit flag defaulting to false.
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty)`
  Create a StyleableProperty<Color> using previously created CssMetaData for the given `cssProperty`.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function)`
  Create a StyleableProperty<Color>.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a StyleableProperty<Color> with initial value.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a StyleableProperty<Color> with initial value and inherit flag.
  `static StyleConverter<String,Color>`
  StyleConverter.`getColorConverter()`
  Return a `StyleConverter` that converts a String representation of a web color to a `Color`.
  Methods in javafx.css with parameters of type Color
  Modifier and Type
  Method
  Description
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a StyleableProperty<Color> with initial value.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a StyleableProperty<Color> with initial value and inherit flag.
  Method parameters in javafx.css with type arguments of type Color
  Modifier and Type
  Method
  Description
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function)`
  Create a CssMetaData<S, Color> with initial value of Color.BLACK, and inherit flag defaulting to false.
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
  `final CssMetaData<S,Color>`
  StyleablePropertyFactory.`createColorCssMetaData(String property, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a CssMetaData<S, Color> with initial value, and inherit flag.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function)`
  Create a StyleableProperty<Color>.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue)`
  Create a StyleableProperty<Color> with initial value.
  `final StyleableProperty<Color>`
  StyleablePropertyFactory.`createStyleableColorProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Color>> function, Color initialValue, boolean inherits)`
  Create a StyleableProperty<Color> with initial value and inherit flag.

- ## Uses of Color in javafx.css.converter

  Methods in javafx.css.converter that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `static StyleConverter<String,Color>`
  ColorConverter.`getInstance()`
  Gets the `ColorConverter` instance.

- ## Uses of Color in javafx.scene

  Methods in javafx.scene that return Color
  Modifier and Type
  Method
  Description
  `final Color`
  LightBase.`getColor()`
  Gets the value of the property color.
  Methods in javafx.scene that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final ObjectProperty<Color>`
  LightBase.`colorProperty()`
  Specifies the color of light source.
  Methods in javafx.scene with parameters of type Color
  Modifier and Type
  Method
  Description
  `final void`
  LightBase.`setColor(Color value)`
  Sets the value of the property color.
  Constructors in javafx.scene with parameters of type Color
  Modifier
  Constructor
  Description
  ``
  `AmbientLight(Color color)`
  Creates a new instance of `AmbientLight` class using the specified color.
  `protected`
  `LightBase(Color color)`
  Creates a new instance of `LightBase` class using the specified color.
  ``
  `PointLight(Color color)`
  Creates a new instance of `PointLight` class using the specified color.
  ``
  `SpotLight(Color color)`
  Creates a new instance of `SpotLight` class using the specified color.

- ## Uses of Color in javafx.scene.control

  Methods in javafx.scene.control that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final ObservableList<Color>`
  ColorPicker.`getCustomColors()`
  Gets the list of custom colors added to the Color Palette by the user.
  Constructors in javafx.scene.control with parameters of type Color
  Modifier
  Constructor
  Description
  ``
  `ColorPicker(Color color)`
  Creates a ColorPicker instance and sets the selected color to the given color.

- ## Uses of Color in javafx.scene.control.skin

  Methods in javafx.scene.control.skin that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `protected StringConverter<Color>`
  ColorPickerSkin.`getConverter()`
  Subclasses are responsible for getting the converter.

- ## Uses of Color in javafx.scene.effect

  Methods in javafx.scene.effect that return Color
  Modifier and Type
  Method
  Description
  `final Color`
  DropShadow.`getColor()`
  Gets the value of the property color.
  `final Color`
  InnerShadow.`getColor()`
  Gets the value of the property color.
  `final Color`
  Light.`getColor()`
  Gets the value of the property color.
  `final Color`
  Shadow.`getColor()`
  Gets the value of the property color.
  Methods in javafx.scene.effect that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final ObjectProperty<Color>`
  DropShadow.`colorProperty()`
  The shadow `Color`.
  `final ObjectProperty<Color>`
  InnerShadow.`colorProperty()`
  The shadow `Color`.
  `final ObjectProperty<Color>`
  Light.`colorProperty()`
  The color of the light source.
  `final ObjectProperty<Color>`
  Shadow.`colorProperty()`
  The shadow `Color`.
  Methods in javafx.scene.effect with parameters of type Color
  Modifier and Type
  Method
  Description
  `final void`
  DropShadow.`setColor(Color value)`
  Sets the value of the property color.
  `final void`
  InnerShadow.`setColor(Color value)`
  Sets the value of the property color.
  `final void`
  Light.`setColor(Color value)`
  Sets the value of the property color.
  `final void`
  Shadow.`setColor(Color value)`
  Sets the value of the property color.
  Constructors in javafx.scene.effect with parameters of type Color
  Modifier
  Constructor
  Description
  ``
  `Distant(double azimuth, double elevation, Color color)`
  Creates a new instance of Distant light with the specified azimuth, elevation, and color.
  ``
  `DropShadow(double radius, double offsetX, double offsetY, Color color)`
  Creates a new instance of DropShadow with the specified radius, offsetX, offsetY and color.
  ``
  `DropShadow(double radius, Color color)`
  Creates a new instance of DropShadow with specified radius and color.
  ``
  `DropShadow(BlurType blurType, Color color, double radius, double spread, double offsetX, double offsetY)`
  Creates a new instance of DropShadow with the specified blurType, color, radius, spread, offsetX and offsetY.
  ``
  `InnerShadow(double radius, double offsetX, double offsetY, Color color)`
  Creates a new instance of InnerShadow with specified radius, offsetX, offsetY and color.
  ``
  `InnerShadow(double radius, Color color)`
  Creates a new instance of InnerShadow with specified radius and color.
  ``
  `InnerShadow(BlurType blurType, Color color, double radius, double choke, double offsetX, double offsetY)`
  Creates a new instance of InnerShadow with the specified blurType, color, radius, spread, offsetX and offsetY.
  ``
  `Point(double x, double y, double z, Color color)`
  Creates a new instance of Point light with the specified x, y, x, and color.
  ``
  `Shadow(double radius, Color color)`
  Creates a new instance of Shadow with specified radius and color.
  ``
  `Shadow(BlurType blurType, Color color, double radius)`
  Creates a new instance of Shadow with the specified blurType, color, radius.
  ``
  `Spot(double x, double y, double z, double specularExponent, Color color)`
  Creates a new instance of Spot light with the specified x, y, z, specularExponent, and color.

- ## Uses of Color in javafx.scene.image

  Methods in javafx.scene.image that return Color
  Modifier and Type
  Method
  Description
  `Color`
  PixelReader.`getColor(int x, int y)`
  Reads the color of a pixel from the specified coordinates in the surface and returns the value as a `Color` object.
  Methods in javafx.scene.image with parameters of type Color
  Modifier and Type
  Method
  Description
  `void`
  PixelWriter.`setColor(int x, int y, Color c)`
  Stores pixel data for a `Color` into the specified coordinates of the surface.

- ## Uses of Color in javafx.scene.paint

  Fields in javafx.scene.paint declared as Color
  Modifier and Type
  Field
  Description
  `static final Color`
  Color.`ALICEBLUE`
  The color alice blue with an RGB value of #F0F8FF
  `static final Color`
  Color.`ANTIQUEWHITE`
  The color antique white with an RGB value of #FAEBD7
  `static final Color`
  Color.`AQUA`
  The color aqua with an RGB value of #00FFFF
  `static final Color`
  Color.`AQUAMARINE`
  The color aquamarine with an RGB value of #7FFFD4
  `static final Color`
  Color.`AZURE`
  The color azure with an RGB value of #F0FFFF
  `static final Color`
  Color.`BEIGE`
  The color beige with an RGB value of #F5F5DC
  `static final Color`
  Color.`BISQUE`
  The color bisque with an RGB value of #FFE4C4
  `static final Color`
  Color.`BLACK`
  The color black with an RGB value of #000000
  `static final Color`
  Color.`BLANCHEDALMOND`
  The color blanched almond with an RGB value of #FFEBCD
  `static final Color`
  Color.`BLUE`
  The color blue with an RGB value of #0000FF
  `static final Color`
  Color.`BLUEVIOLET`
  The color blue violet with an RGB value of #8A2BE2
  `static final Color`
  Color.`BROWN`
  The color brown with an RGB value of #A52A2A
  `static final Color`
  Color.`BURLYWOOD`
  The color burly wood with an RGB value of #DEB887
  `static final Color`
  Color.`CADETBLUE`
  The color cadet blue with an RGB value of #5F9EA0
  `static final Color`
  Color.`CHARTREUSE`
  The color chartreuse with an RGB value of #7FFF00
  `static final Color`
  Color.`CHOCOLATE`
  The color chocolate with an RGB value of #D2691E
  `static final Color`
  Color.`CORAL`
  The color coral with an RGB value of #FF7F50
  `static final Color`
  Color.`CORNFLOWERBLUE`
  The color cornflower blue with an RGB value of #6495ED
  `static final Color`
  Color.`CORNSILK`
  The color cornsilk with an RGB value of #FFF8DC
  `static final Color`
  Color.`CRIMSON`
  The color crimson with an RGB value of #DC143C
  `static final Color`
  Color.`CYAN`
  The color cyan with an RGB value of #00FFFF
  `static final Color`
  Color.`DARKBLUE`
  The color dark blue with an RGB value of #00008B
  `static final Color`
  Color.`DARKCYAN`
  The color dark cyan with an RGB value of #008B8B
  `static final Color`
  Color.`DARKGOLDENROD`
  The color dark goldenrod with an RGB value of #B8860B
  `static final Color`
  Color.`DARKGRAY`
  The color dark gray with an RGB value of #A9A9A9
  `static final Color`
  Color.`DARKGREEN`
  The color dark green with an RGB value of #006400
  `static final Color`
  Color.`DARKGREY`
  The color dark grey with an RGB value of #A9A9A9
  `static final Color`
  Color.`DARKKHAKI`
  The color dark khaki with an RGB value of #BDB76B
  `static final Color`
  Color.`DARKMAGENTA`
  The color dark magenta with an RGB value of #8B008B
  `static final Color`
  Color.`DARKOLIVEGREEN`
  The color dark olive green with an RGB value of #556B2F
  `static final Color`
  Color.`DARKORANGE`
  The color dark orange with an RGB value of #FF8C00
  `static final Color`
  Color.`DARKORCHID`
  The color dark orchid with an RGB value of #9932CC
  `static final Color`
  Color.`DARKRED`
  The color dark red with an RGB value of #8B0000
  `static final Color`
  Color.`DARKSALMON`
  The color dark salmon with an RGB value of #E9967A
  `static final Color`
  Color.`DARKSEAGREEN`
  The color dark sea green with an RGB value of #8FBC8F
  `static final Color`
  Color.`DARKSLATEBLUE`
  The color dark slate blue with an RGB value of #483D8B
  `static final Color`
  Color.`DARKSLATEGRAY`
  The color dark slate gray with an RGB value of #2F4F4F
  `static final Color`
  Color.`DARKSLATEGREY`
  The color dark slate grey with an RGB value of #2F4F4F
  `static final Color`
  Color.`DARKTURQUOISE`
  The color dark turquoise with an RGB value of #00CED1
  `static final Color`
  Color.`DARKVIOLET`
  The color dark violet with an RGB value of #9400D3
  `static final Color`
  Color.`DEEPPINK`
  The color deep pink with an RGB value of #FF1493
  `static final Color`
  Color.`DEEPSKYBLUE`
  The color deep sky blue with an RGB value of #00BFFF
  `static final Color`
  Color.`DIMGRAY`
  The color dim gray with an RGB value of #696969
  `static final Color`
  Color.`DIMGREY`
  The color dim grey with an RGB value of #696969
  `static final Color`
  Color.`DODGERBLUE`
  The color dodger blue with an RGB value of #1E90FF
  `static final Color`
  Color.`FIREBRICK`
  The color firebrick with an RGB value of #B22222
  `static final Color`
  Color.`FLORALWHITE`
  The color floral white with an RGB value of #FFFAF0
  `static final Color`
  Color.`FORESTGREEN`
  The color forest green with an RGB value of #228B22
  `static final Color`
  Color.`FUCHSIA`
  The color fuchsia with an RGB value of #FF00FF
  `static final Color`
  Color.`GAINSBORO`
  The color gainsboro with an RGB value of #DCDCDC
  `static final Color`
  Color.`GHOSTWHITE`
  The color ghost white with an RGB value of #F8F8FF
  `static final Color`
  Color.`GOLD`
  The color gold with an RGB value of #FFD700
  `static final Color`
  Color.`GOLDENROD`
  The color goldenrod with an RGB value of #DAA520
  `static final Color`
  Color.`GRAY`
  The color gray with an RGB value of #808080
  `static final Color`
  Color.`GREEN`
  The color green with an RGB value of #008000
  `static final Color`
  Color.`GREENYELLOW`
  The color green yellow with an RGB value of #ADFF2F
  `static final Color`
  Color.`GREY`
  The color grey with an RGB value of #808080
  `static final Color`
  Color.`HONEYDEW`
  The color honeydew with an RGB value of #F0FFF0
  `static final Color`
  Color.`HOTPINK`
  The color hot pink with an RGB value of #FF69B4
  `static final Color`
  Color.`INDIANRED`
  The color indian red with an RGB value of #CD5C5C
  `static final Color`
  Color.`INDIGO`
  The color indigo with an RGB value of #4B0082
  `static final Color`
  Color.`IVORY`
  The color ivory with an RGB value of #FFFFF0
  `static final Color`
  Color.`KHAKI`
  The color khaki with an RGB value of #F0E68C
  `static final Color`
  Color.`LAVENDER`
  The color lavender with an RGB value of #E6E6FA
  `static final Color`
  Color.`LAVENDERBLUSH`
  The color lavender blush with an RGB value of #FFF0F5
  `static final Color`
  Color.`LAWNGREEN`
  The color lawn green with an RGB value of #7CFC00
  `static final Color`
  Color.`LEMONCHIFFON`
  The color lemon chiffon with an RGB value of #FFFACD
  `static final Color`
  Color.`LIGHTBLUE`
  The color light blue with an RGB value of #ADD8E6
  `static final Color`
  Color.`LIGHTCORAL`
  The color light coral with an RGB value of #F08080
  `static final Color`
  Color.`LIGHTCYAN`
  The color light cyan with an RGB value of #E0FFFF
  `static final Color`
  Color.`LIGHTGOLDENRODYELLOW`
  The color light goldenrod yellow with an RGB value of #FAFAD2
  `static final Color`
  Color.`LIGHTGRAY`
  The color light gray with an RGB value of #D3D3D3
  `static final Color`
  Color.`LIGHTGREEN`
  The color light green with an RGB value of #90EE90
  `static final Color`
  Color.`LIGHTGREY`
  The color light grey with an RGB value of #D3D3D3
  `static final Color`
  Color.`LIGHTPINK`
  The color light pink with an RGB value of #FFB6C1
  `static final Color`
  Color.`LIGHTSALMON`
  The color light salmon with an RGB value of #FFA07A
  `static final Color`
  Color.`LIGHTSEAGREEN`
  The color light sea green with an RGB value of #20B2AA
  `static final Color`
  Color.`LIGHTSKYBLUE`
  The color light sky blue with an RGB value of #87CEFA
  `static final Color`
  Color.`LIGHTSLATEGRAY`
  The color light slate gray with an RGB value of #778899
  `static final Color`
  Color.`LIGHTSLATEGREY`
  The color light slate grey with an RGB value of #778899
  `static final Color`
  Color.`LIGHTSTEELBLUE`
  The color light steel blue with an RGB value of #B0C4DE
  `static final Color`
  Color.`LIGHTYELLOW`
  The color light yellow with an RGB value of #FFFFE0
  `static final Color`
  Color.`LIME`
  The color lime with an RGB value of #00FF00
  `static final Color`
  Color.`LIMEGREEN`
  The color lime green with an RGB value of #32CD32
  `static final Color`
  Color.`LINEN`
  The color linen with an RGB value of #FAF0E6
  `static final Color`
  Color.`MAGENTA`
  The color magenta with an RGB value of #FF00FF
  `static final Color`
  Color.`MAROON`
  The color maroon with an RGB value of #800000
  `static final Color`
  Color.`MEDIUMAQUAMARINE`
  The color medium aquamarine with an RGB value of #66CDAA
  `static final Color`
  Color.`MEDIUMBLUE`
  The color medium blue with an RGB value of #0000CD
  `static final Color`
  Color.`MEDIUMORCHID`
  The color medium orchid with an RGB value of #BA55D3
  `static final Color`
  Color.`MEDIUMPURPLE`
  The color medium purple with an RGB value of #9370DB
  `static final Color`
  Color.`MEDIUMSEAGREEN`
  The color medium sea green with an RGB value of #3CB371
  `static final Color`
  Color.`MEDIUMSLATEBLUE`
  The color medium slate blue with an RGB value of #7B68EE
  `static final Color`
  Color.`MEDIUMSPRINGGREEN`
  The color medium spring green with an RGB value of #00FA9A
  `static final Color`
  Color.`MEDIUMTURQUOISE`
  The color medium turquoise with an RGB value of #48D1CC
  `static final Color`
  Color.`MEDIUMVIOLETRED`
  The color medium violet red with an RGB value of #C71585
  `static final Color`
  Color.`MIDNIGHTBLUE`
  The color midnight blue with an RGB value of #191970
  `static final Color`
  Color.`MINTCREAM`
  The color mint cream with an RGB value of #F5FFFA
  `static final Color`
  Color.`MISTYROSE`
  The color misty rose with an RGB value of #FFE4E1
  `static final Color`
  Color.`MOCCASIN`
  The color moccasin with an RGB value of #FFE4B5
  `static final Color`
  Color.`NAVAJOWHITE`
  The color navajo white with an RGB value of #FFDEAD
  `static final Color`
  Color.`NAVY`
  The color navy with an RGB value of #000080
  `static final Color`
  Color.`OLDLACE`
  The color old lace with an RGB value of #FDF5E6
  `static final Color`
  Color.`OLIVE`
  The color olive with an RGB value of #808000
  `static final Color`
  Color.`OLIVEDRAB`
  The color olive drab with an RGB value of #6B8E23
  `static final Color`
  Color.`ORANGE`
  The color orange with an RGB value of #FFA500
  `static final Color`
  Color.`ORANGERED`
  The color orange red with an RGB value of #FF4500
  `static final Color`
  Color.`ORCHID`
  The color orchid with an RGB value of #DA70D6
  `static final Color`
  Color.`PALEGOLDENROD`
  The color pale goldenrod with an RGB value of #EEE8AA
  `static final Color`
  Color.`PALEGREEN`
  The color pale green with an RGB value of #98FB98
  `static final Color`
  Color.`PALETURQUOISE`
  The color pale turquoise with an RGB value of #AFEEEE
  `static final Color`
  Color.`PALEVIOLETRED`
  The color pale violet red with an RGB value of #DB7093
  `static final Color`
  Color.`PAPAYAWHIP`
  The color papaya whip with an RGB value of #FFEFD5
  `static final Color`
  Color.`PEACHPUFF`
  The color peach puff with an RGB value of #FFDAB9
  `static final Color`
  Color.`PERU`
  The color peru with an RGB value of #CD853F
  `static final Color`
  Color.`PINK`
  The color pink with an RGB value of #FFC0CB
  `static final Color`
  Color.`PLUM`
  The color plum with an RGB value of #DDA0DD
  `static final Color`
  Color.`POWDERBLUE`
  The color powder blue with an RGB value of #B0E0E6
  `static final Color`
  Color.`PURPLE`
  The color purple with an RGB value of #800080
  `static final Color`
  Color.`RED`
  The color red with an RGB value of #FF0000
  `static final Color`
  Color.`ROSYBROWN`
  The color rosy brown with an RGB value of #BC8F8F
  `static final Color`
  Color.`ROYALBLUE`
  The color royal blue with an RGB value of #4169E1
  `static final Color`
  Color.`SADDLEBROWN`
  The color saddle brown with an RGB value of #8B4513
  `static final Color`
  Color.`SALMON`
  The color salmon with an RGB value of #FA8072
  `static final Color`
  Color.`SANDYBROWN`
  The color sandy brown with an RGB value of #F4A460
  `static final Color`
  Color.`SEAGREEN`
  The color sea green with an RGB value of #2E8B57
  `static final Color`
  Color.`SEASHELL`
  The color sea shell with an RGB value of #FFF5EE
  `static final Color`
  Color.`SIENNA`
  The color sienna with an RGB value of #A0522D
  `static final Color`
  Color.`SILVER`
  The color silver with an RGB value of #C0C0C0
  `static final Color`
  Color.`SKYBLUE`
  The color sky blue with an RGB value of #87CEEB
  `static final Color`
  Color.`SLATEBLUE`
  The color slate blue with an RGB value of #6A5ACD
  `static final Color`
  Color.`SLATEGRAY`
  The color slate gray with an RGB value of #708090
  `static final Color`
  Color.`SLATEGREY`
  The color slate grey with an RGB value of #708090
  `static final Color`
  Color.`SNOW`
  The color snow with an RGB value of #FFFAFA
  `static final Color`
  Color.`SPRINGGREEN`
  The color spring green with an RGB value of #00FF7F
  `static final Color`
  Color.`STEELBLUE`
  The color steel blue with an RGB value of #4682B4
  `static final Color`
  Color.`TAN`
  The color tan with an RGB value of #D2B48C
  `static final Color`
  Color.`TEAL`
  The color teal with an RGB value of #008080
  `static final Color`
  Color.`THISTLE`
  The color thistle with an RGB value of #D8BFD8
  `static final Color`
  Color.`TOMATO`
  The color tomato with an RGB value of #FF6347
  `static final Color`
  Color.`TRANSPARENT`
  A fully transparent color with an ARGB value of #00000000.
  `static final Color`
  Color.`TURQUOISE`
  The color turquoise with an RGB value of #40E0D0
  `static final Color`
  Color.`VIOLET`
  The color violet with an RGB value of #EE82EE
  `static final Color`
  Color.`WHEAT`
  The color wheat with an RGB value of #F5DEB3
  `static final Color`
  Color.`WHITE`
  The color white with an RGB value of #FFFFFF
  `static final Color`
  Color.`WHITESMOKE`
  The color white smoke with an RGB value of #F5F5F5
  `static final Color`
  Color.`YELLOW`
  The color yellow with an RGB value of #FFFF00
  `static final Color`
  Color.`YELLOWGREEN`
  The color yellow green with an RGB value of #9ACD32
  Methods in javafx.scene.paint that return Color
  Modifier and Type
  Method
  Description
  `Color`
  Color.`brighter()`
  Creates a new Color that is a brighter version of this Color.
  `static Color`
  Color.`color(double red, double green, double blue)`
  Creates an opaque sRGB color with the specified red, green and blue values in the range `0.0-1.0`.
  `static Color`
  Color.`color(double red, double green, double blue, double opacity)`
  Creates an sRGB color with the specified red, green and blue values in the range `0.0-1.0`, and a given opacity.
  `Color`
  Color.`darker()`
  Creates a new Color that is a darker version of this Color.
  `Color`
  Color.`deriveColor(double hueShift, double saturationFactor, double brightnessFactor, double opacityFactor)`
  Creates a new `Color` based on this `Color` with hue, saturation, brightness and opacity values altered.
  `Color`
  Color.`desaturate()`
  Creates a new Color that is a less saturated version of this Color.
  `final Color`
  Stop.`getColor()`
  Gets the color of the gradient at this offset.
  `final Color`
  PhongMaterial.`getDiffuseColor()`
  Gets the value of the property diffuseColor.
  `final Color`
  PhongMaterial.`getSpecularColor()`
  Gets the value of the property specularColor.
  `static Color`
  Color.`gray(double gray)`
  Creates an opaque grey color.
  `static Color`
  Color.`gray(double gray, double opacity)`
  Creates a grey color.
  `static Color`
  Color.`grayRgb(int gray)`
  This is a shortcut for `rgb(gray, gray, gray)`.
  `static Color`
  Color.`grayRgb(int gray, double opacity)`
  This is a shortcut for `rgb(gray, gray, gray, opacity)`.
  `Color`
  Color.`grayscale()`
  Creates a new Color that is grayscale equivalent of this Color.
  `static Color`
  Color.`hsb(double hue, double saturation, double brightness)`
  Creates an opaque `Color` based on the specified values in the HSB color model.
  `static Color`
  Color.`hsb(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.
  `Color`
  Color.`interpolate(Color endValue, double t)`
  The function calculates an interpolated value along the fraction `t` between `0.0` and `1.0`.
  `Color`
  Color.`invert()`
  Creates a new Color that is inversion of this Color.
  `static Color`
  Color.`rgb(int red, int green, int blue)`
  Creates an opaque sRGB color with the specified RGB values in the range `0-255`.
  `static Color`
  Color.`rgb(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.
  `Color`
  Color.`saturate()`
  Creates a new Color that is a more saturated version of this Color.
  `static Color`
  Color.`valueOf(String value)`
  Creates a color value from a string representation.
  `static Color`
  Color.`web(String colorString)`
  Creates an RGB color specified with an HTML or CSS attribute string.
  `static Color`
  Color.`web(String colorString, double opacity)`
  Creates an RGB color specified with an HTML or CSS attribute string.
  Methods in javafx.scene.paint that return types with arguments of type Color
  Modifier and Type
  Method
  Description
  `final ObjectProperty<Color>`
  PhongMaterial.`diffuseColorProperty()`
  The diffuse color of this `PhongMaterial`.
  `final ObjectProperty<Color>`
  PhongMaterial.`specularColorProperty()`
  The specular color of this `PhongMaterial`.
  Methods in javafx.scene.paint with parameters of type Color
  Modifier and Type
  Method
  Description
  `Color`
  Color.`interpolate(Color endValue, double t)`
  The function calculates an interpolated value along the fraction `t` between `0.0` and `1.0`.
  `final void`
  PhongMaterial.`setDiffuseColor(Color value)`
  Sets the value of the property diffuseColor.
  `final void`
  PhongMaterial.`setSpecularColor(Color value)`
  Sets the value of the property specularColor.
  Constructors in javafx.scene.paint with parameters of type Color
  Modifier
  Constructor
  Description
  ``
  `PhongMaterial(Color diffuseColor)`
  Creates a new instance of `PhongMaterial` class using the specified color for its `diffuseColor` property.
  ``
  `PhongMaterial(Color diffuseColor, Image diffuseMap, Image specularMap, Image bumpMap, Image selfIlluminationMap)`
  Creates a new instance of `PhongMaterial` class using the specified colors and images for its `diffuseColor` properties.
  ``
  `Stop(double offset, Color color)`
  Creates a new instance of Stop.

- ## Uses of Color in javafx.scene.robot

  Methods in javafx.scene.robot that return Color
  Modifier and Type
  Method
  Description
  `Color`
  Robot.`getPixelColor(double x, double y)`
  Returns the `Color` of the pixel at the screen coordinates relative to the primary screen specified by `location`.
  `Color`
  Robot.`getPixelColor(Point2D location)`
  Returns the `Color` of the pixel at the screen coordinates relative to the primary screen specified by `location`.