SmartColorWidget
SmartColorWidget is a user-friendly color picker widget for Archetypes. It allow quick and easy color selection from 3 different ways: - HTML color value - Color table and lightness bar slider - Hue/Lightness/Saturation fields The 3 inputs modes are javascript-wired and dynamically change when anything is modified
Current release
SmartColorWidget 1.0.3
Released Jul 09, 2008 — tested with Plone 3
product is packaged for buildout and easy_install as Products.SmartColorWidget this version is for plone3.1+,
-
Get
SmartColorWidget
for
all platforms
(77 KB)
- Zip package on pypi
Project Description
ABOUT THIS PRODUCT
SmartColorWidget is a user-friendly color picker widget for Archetypes.
It allow quick and easy color selection from 3 different ways:
- HTML color value
- Color table and lightness bar slider
- Hue/Lightness/Saturation fields
The 3 inputs modes are javascript-wired and dynamically change when anything is modified
A demo type is included. Set INSTALL_DEMO_TYPES = 1 in config.py to enable it.
Dependancies
Plone 2.1/2.5
Archetypes 1.3.5+
Installation
1. Install as usual in your Products folder
2. Install in your Plone Site with the Quickinstaller tool
3. In your custom Archetype, add:
from Products.SmartColorWidget.Widget import SmartColorWidget
4. Use it like a regular field/widget in your Type's Schema.
Example:
StringField('color',
default='#00FFFF',
searchable=0,
required=0,
widget=SmartColorWidget(
label='Color',
)
),
Credits
This product was built by the Ingeniweb team
Thanks
- The jQuery team, for their powerfull javascript library
- EasyRGB, for the colors transformation formulas
- Roland Fasching for the widget idea from ATColorPickerWidget

