Allows users to change the color scheme of themes. File core/modules/color/color.module
_color_rewrite_stylesheet($theme, &$info, &$paths, $palette, $style) Rewrites the stylesheet to match
public ColorConfigCacheInv
Default theme implementation for a theme's color form. Available variables: form: Form
color_theme() Implements
color_scheme_form_validate($form, FormStateInterface $form_state) Form validation handler for
color_scheme_form($complete_form, FormStateInterface $form_state, $theme) Form constructor for the color configuration
color_valid_hexadecimal_string($color) Determines if a hexadecimal CSS color string is valid.
color_get_info($theme) Retrieves the Color module information for a particular theme.
_color_unpack($hex, $normalize = FALSE) Converts a hex color into an RGB triplet. File
Page 1 of 4