If I was good enough to implement it, I think I would return a list of tuples and a index. Each tuple would represent a color model, RGB, HLS, CMYK etc. the index would indicate what Color model was selected as the other values will be mostly be approximations. Then when calling the function/method call it with the same index and the corresponding tuple. Of course means you need to save the vars between calls. But this is normal. just my idea.

Right @Phuket2 but I was referring to how a colour picker should help you be consistent in your picking. So a "recent picks" palette as part of the UI element would be handy. Wondering if Roll Your Own isn't required.

Start of a simple chooser, similar to the built in one above. I got a little sloppy, so you cannot quite get to pure white :). Also a real class would have a done button, delegate callbacks, and a "shield" so it can act modally, but this gives the basic idea.

My intention was to store recently selected colors and display those as well.

@JonB The color picker looks great. It can be potentially used as the UI for customisation of stash color theme. This is something I'd like to support in future developments. It may take a while though as I have other issues to fix first. But I guess most importantly is to have an official 1.6 releas to ensure efforts are not to be wasted ...