How do I develop a gradient in JavaFX that looks like the one below?

Use linear-gradient in CSS:
linear-gradient(to (top, right, bottom, left), (color begin), (color finish));
-fx-background-color: linear-gradient(to top,-color-amber, transparent);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With