Allows users to change the color scheme of themes.

File

modules/color/color.module

Functions

Namesort descending Description
color_config_create Implements hook_config_create().
_color_config_save Shared callback used by color_config_create() and hook_config_update().
color_config_update Implements hook_config_update().
color_css_alter Implements hook_css_alter().
color_custom_theme Implements hook_custom_theme().
color_flush_caches Implements hook_flush_caches().
color_form_system_theme_settings_alter Implements hook_form_FORM_ID_alter().
color_get_color_element Creates the render array for a color element.
_color_get_file_path Finds the original file path of a CSS file from the color configuration.
color_get_info Retrieves the Color module information for a particular theme.
color_get_palette Retrieves the color palette for a particular theme.
_color_get_theme_from_file Finds which theme a CSS file came from.
_color_hsl2rgb Converts an HSL triplet into RGB.
_color_hue2rgb Helper function for _color_hsl2rgb().
color_menu Implements hook_menu().
_color_pack Converts an RGB triplet to a hex color.
color_palette_color_value Determines the value for a palette color field.
_color_preview_theme
color_rebuild_settings Rebuild color scheme info.
_color_rewrite_stylesheet Rewrites the stylesheet to match the colors in the palette.
_color_rgb2hsl Converts an RGB triplet to HSL.
color_save_configuration Generates the necessary CSS and images based on a color palette.
color_save_preview_settings Callback function to handle saving preview settings to the user's session.
_color_save_stylesheet Saves the rewritten stylesheet to disk.
color_scheme_form_submit Form submission handler for color_scheme_form().
color_scheme_form_validate Form validation handler for color_scheme_form().
_color_shift Shifts a given color, using a reference pair and a target blend color.
color_theme Implements hook_theme().
_color_unpack Converts a hex color into an RGB triplet.
color_url_outbound_alter Implements hook_url_outbound_alter().
color_valid_hexadecimal_string Determines if a hexadecimal CSS color string is valid.