Re: Django color picker -- ColorField?

2006-10-20 Thread zenx
It would be cool if the javascript widget also displayed the hexadecimal color (like #FF) calculating it real time from the RGB selected color. It will be also interesting if people could get the RGB, hex, etc. color by different methods (not only rgb).

Re: Django color picker -- ColorField?

2006-10-20 Thread ogghead
I would definitely use a Django "ColorField" type with a JavaScript editor. I currently do something similar in wxPython apps, using my own ColourGridCellEditor/Renderer classes. We store colors in the database as CHAR(11) RGB strings: "204,153,102". Perhaps you could subclass Django's

Re: Django color picker -- ColorField?

2006-10-19 Thread Noah
I'd totaly be interested in that. If someone wanted to write the appropriet code it would also be useful to be able to filter by related colors somehow. On Oct 15, 1:03 pm, "inquis" <[EMAIL PROTECTED]> wrote: > Is there any interest in a Django field type that will accept and > validate a set of

Django color picker -- ColorField?

2006-10-19 Thread inquis
Is there any interest in a Django field type that will accept and validate a set of RGB color values? It could be represented in the Django admin using a Javascript color picker. Has this been done before? My searches were all for naught. --~--~-~--~~~---~--~~