FXML : CSS: .base{ -fx-background-color: #0D1116; } .test-pane{ -fx-background-color: #0D1116; -fx-border-color: #1A1D23; -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.75), 10, 0.5, 0, 2); }