almost a mirror of http://www.symfony-project.org/plugins/dcWidgetColorPickerPlugin