color.module

Allows users to change the color scheme of themes.

File

drupal/core/modules/color/color.module
View source

Functions

Namesort descending Description
color_form_system_theme_settings_alter Implements hook_form_FORM_ID_alter().
color_get_info Retrieves the Color module information for a particular theme.
color_get_palette Retrieves the color palette for a particular theme.
color_help Implements hook_help().
color_library_info Implements hook_library_info().
color_scheme_form Form constructor for the color configuration form for a particular theme.
color_scheme_form_submit Form submission handler for color_scheme_form().
color_scheme_form_validate Form validation handler for color_scheme_form().
color_theme Implements hook_theme().
theme_color_scheme_form Returns HTML for a theme's color form.
_color_blend Blends two hex colors and returns the GD color.
_color_gd Converts a hex triplet into a GD color.
_color_hsl2rgb Converts an HSL triplet into RGB.
_color_html_alter Replaces style sheets with color-altered style sheets.
_color_hue2rgb Helper function for _color_hsl2rgb().
_color_pack Converts an RGB triplet to a hex color.
_color_page_alter Replaces the logo with a color-altered logo.
_color_render_images Renders images that match a given palette.
_color_rewrite_stylesheet Rewrites the stylesheet to match the colors in the palette.
_color_rgb2hsl Converts an RGB triplet to HSL.
_color_save_stylesheet Saves the rewritten stylesheet to disk.
_color_shift Shifts a given color, using a reference pair and a target blend color.
_color_unpack Converts a hex color into an RGB triplet.