Adding Custom Color Palette on Customizer (WordPress)

Updated on:

I found a quick tutorial from the guys over at GeneratePress that was helpful in having your custom palette hooked in automatically

If you’re the kind of person who enjoys brand guidelines like me, having a custom color palette on WordPress default Customizer is pretty freaking sweet.

How to Add Your Custom Color Palette on WordPress (with CODE)

add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' );
function tu_custom_color_palettes( $palettes ) {
	$palettes = array(
	return $palettes;

Video Tutorial

Here’s the Youtube tutorial that I am referring to. It has like 1k+ views at the time of this writing and I thought, wow, that’s pretty underrated for a superb easy tutorial for GeneratePress and general WordPress users.

Simple as that. Lots of thanks to Mike Oliver/GeneratePress!

Photo of author

Milo Lam

A wallflower at heart with a passion for startups and telling stories that linger. Full-time freelance digital marketer.

Milo Lam is a Boston-based digital marketing professional with 5 years of experience in creating cool things and growing businesses fast.




Copyright © 2022 Milo Lam