color.module

Allows users to change the color scheme of themes.

File

modules/color/color.module

Functions

Name Description
color_form_system_themes_alter Implements hook_form_FORM_ID_alter().
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_palette_color_value Determines the value for a palette color field.
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().
color_valid_hexadecimal_string Determines if a hexadecimal CSS color string is valid.
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_theme_select_form_alter Helper for hook_form_FORM_ID_alter() implementations.
_color_unpack Converts a hex color into an RGB triplet.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!color!color.module/7.x