cbx1.cmbBox.Style = "-fx-background-color: #FFF6FF74;-fx-border-color: #FF939393;-fx-border-width: 1;-fx-border-radius: 1;"
This code produces this result:
View attachment 151748
cbx1.cmbBox.Style = "-fx-background-color: #CCC8F9;-fx-border-color: #000000;-fx-border-width: 2;-fx-border-radius: 3;"
This code produces this result:
View attachment 151749
cbx1.cmbBox.Style = "-fx-background-color: #FFFF00;-fx-border-color: #000000;-fx-border-width: 2;-fx-border-radius: 3;"
This code produces this result:
View attachment 151750
So change the color settings to get the wanted result.
Note: don't use the alpha value (the first FF), just R,G,B values.