wp-content/themes/twentysixteen/inc/customizer.php:446Enqueues front-end CSS for color scheme.
function twentysixteen_color_scheme_css() { $color_scheme_option = get_theme_mod( 'color_scheme', 'default' ); // Don't do anything if the default color scheme is selected. if ( 'default' === $color_scheme_option ) { return; } $color_scheme = twentysixteen_get_color_scheme(); // Convert main text hex color to rgba. $color_textcolor_rgb = twentysixteen_hex2rgb( $color_scheme[3] ); // If the rgba values are empty return early. if ( empty( $color_textcolor_rgb ) ) { return; } // If we get this far, we have a custom color scheme. $colors = array( 'background_color' => $color_scheme[0], 'page_background_color' => $color_scheme[1], 'link_color' => $color_scheme[2], 'main_text_color' => $color_scheme[3], 'secondary_text_color' => $color_scheme[4], 'border_color' => vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.2)', $color_textcolor_rgb ), ); $color_scheme_css = twentysixteen_get_color_scheme_css( $colors ); wp_add_inline_style( 'twentysixteen-style', $color_scheme_css );}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.