Issue #601 by pjohans: hook_update_N to update locally stored color palette with settings from theme.
Issue #601 by pjohans: check the data
Issue #601 by pjohans: use drupal comment standard.