Custom palette in the ColorPicker
问题 I would like to change the color palette. The colors are by default have a transparency of 30%. Is it possible to replace the color palette? 回答1: Based on this solution, you can replace the color palette once you get the rectangles and their colors. For instance, you can make brighter all the palette: @Override public void start(Stage primaryStage) { ColorPicker picker = new ColorPicker(); StackPane root = new StackPane(picker); Scene scene = new Scene(root, 500, 400); primaryStage.setScene