Hello, I am making a Firefox extension and would like to give my users more control over the look and feel of things. In my extension's preference pane, I would like to achieve something close to this:-
CodeProject: Custom Color Dialog Box
I know I can achieve this by making lots of different divs for as many colours as possible and adding event listeners to see if the user has selected a colour, but that would be too much work and would likely consume too much time. I am wondering if there's an easier way to do this since I guess there must have been someone who have done this before. (Through an XPCOM component maybe?)
Thank you in advance! =)