A nice color picker using Java Swing that contains a visual color selection and input boxes to enter RGB and HSB values manually.
Use the class com.bric.colorpicker.ColorPicker as an entry point. You can easily initialize the panel using
ColorPicker colorPicker = new ColorPicker(true, true);
colorPicker.addColorListener(colorModel -> System.out.println(colorModel.getColor()));
This creates a color picker component with expert controls and opacity settings. If the user selects a color, the color listener will be notified.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This color picker was a part of the javagraphics project (http://javagraphics.blogspot.com), initiated by Jeremy Wood. The javagraphics project is a collection of small stand-alone projects.
The original color picker component is copyright 2011 by Jeremy Wood.
This modification of the color picker is released under a BSD 3-Clause license. More details can be found here: