wp-content/themes/twentysixteen/inc/customizer.php:292Registers color schemes for Twenty Sixteen.
arrayOne hook fires while twentysixteen_get_color_schemes() runs, in this order:
Filters the color schemes registered for use with Twenty Sixteen.
function twentysixteen_get_color_schemes() { /** * Filters the color schemes registered for use with Twenty Sixteen. * * The default schemes include 'default', 'dark', 'gray', 'red', and 'yellow'. * * @since Twenty Sixteen 1.0 * * @param array $schemes { * Associative array of color schemes data. * * @type array $slug { * Associative array of information for setting up the color scheme. * * @type string $label Color scheme label. * @type array $colors HEX codes for default colors prepended with a hash symbol ('#'). * Colors are defined in the following order: Main background, page * background, link, main text, secondary text. * } * } */ return apply_filters( 'twentysixteen_color_schemes', array( 'default' => array( 'label' => __( 'Default', 'twentysixteen' ), 'colors' => array( '#1a1a1a', '#ffffff', '#007acc', '#1a1a1a', '#686868', ), ), 'dark' => array( 'label' => __( 'Dark', 'twentysixteen' ), 'colors' => array( '#262626', '#1a1a1a', '#9adffd', '#e5e5e5', '#c1c1c1', ), ), 'gray' => array( 'label' => __( 'Gray', 'twentysixteen' ), 'colors' => array( '#616a73', '#4d545c', '#c7c7c7', '#f2f2f2', '#f2f2f2', ), ), 'red' => array( 'label' => __( 'Red', 'twentysixteen' ), 'colors' => array( '#ffffff', '#ff675f', '#640c1f', '#402b30', '#402b30', ), ), 'yellow' => array( 'label' => __( 'Yellow', 'twentysixteen' ), 'colors' => array( '#3b3721', '#ffef8e', '#774e24', '#3b3721', '#5b4d3e', ), ), ) );}Introduced in Twenty Sixteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentysixteen/inc/customizer.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.