Define available default colors for Color Field programatically I use the Color Field as a field in a custom module from where I create the content type programatically.

By default the available colors are defined at this hook:
color_field_field_settings_form

in the color_field module.

I need to modify the list of available colors and I wanted to do at the field creation time.

At my _slider_installed_instances function I have:

EDIT: Added the settings section with no results.

        'slider_background' =&gt; array(
                'field_name' =&gt; 'slider_background',
                'type' =&gt; 'color_field_rgb',
                'label' =&gt; $t('Slider background color'),
                'widget' =&gt; array(
                        'type' =&gt; 'color_field_default_widget',
                ),
                'settings' =&gt; array(
                        'default_colors' =&gt; array(
                                'default_value' =&gt; '#AC725E,#D06B64',
                        ),
                ),
                'display' =&gt; array(
                        'default' =&gt; array(
                                'label' =&gt; $t('Slider background color'),
                                'type' =&gt; 'text'
                        )
                ),

        ),


and I wonder how to define the settings for default colors so the list will be the one defined by me at my module.

I'll appreciate any hint.

Thanks in advance.
Finally to achieve I move to implement in my custom module the hook hook_field_info_alter and update at this hook the $info[field]['settings']['default_colors'] list of hex color values.

I couldn't find the solution I was looking for.