When I use a modal color dialog in a widget (aCKolor), there are a set of colored circles that are the most recently picked colors from the color wheel. Clicking on one of these instead of the color wheel allows you to set your light back to a recently used color.
Is there a way to instead have a set of pre-defined colors show up in the dialog?
And it’s acutally a fork I made, not the original version, because I needed to make some changes to make it work in HABPanel.
So you would need to fork it too (from mine), make your changes, rebuild it, push it back to your repository, then change the reference to your fork in bower.json and rebuild HABPanel (with gulp, see https://github.com/openhab/org.openhab.ui.habpanel/blob/master/CONTRIBUTING.md#build-environment).
You probably can build your own directive around it, but it won’t be easy either, even if you get it to show up on the screen, the most complex part is to make sure the item’s state and the color picker are linked (an update to either one triggers the update of the other etc.). On top of that most color pickers around use RGB or HSL and openHAB uses HSV, so you’ll have to perform the conversions in your code.
In the repository, that’s a development file, it’s not part of the distribution.