How to Add a Color Palette in the WordPress Editor (Block and Classic)

While working in the WordPress block editor you sometimes need to change the background color of a block or the text color. Fortunately, the Gutenberg block editor provides options to set your desired background and text color via the Color Settings. But where it presently lacks is allowing users to save the custom color in the form of a color palette.

Think about it. A color palette is very handy while creating content. Instead of trying to recreate the color from an earlier post, you can easily pick the colors from your custom color palette.

In this post, I will show you how you can easily add a custom color palette to your WordPress block or classic editor. In fact, your color palette can also be integrated with the Elementor page builder.

Add a Color Palette in the WordPress Editor

We will use the Central Color Palette plugin to add a color palette in the WordPress editor. Install and activate the plugin and navigate to the plugin dashboard from the Settings menu on the left of the admin panel.

The Central Color Palette dashboard has multiple options as you can see below.

Color palette in WordPress
Central Color Palette options

You can add the color palette to your theme customizer, the block editor, the classic editor, as global CSS variables.

What’s more, you can even add your custom color palette to the Elementor page builder and also your theme like GeneratePress.

Elementor has its own global color palette, but if you want, you can integrate your custom palette in Elementor as well as the WordPress editor to maintain color consistency on pages created using Elementor or the WordPress editor.


When adding the color palette to the WordPress block editor, the plugin offers the option to append to the existing palette in the block editor or you can choose to replace the default colors you see in the block editor’s color palette.

Above, I have chosen to replace the default colors in the block editor with my custom palette. I have attached the screengrab of the color palette I created and how it appears in the block editor.

Color palette in WordPress block editor
Color palette in the block editor

If you select the Append to existing palette option, your custom color palette will be added to the default colors in the block editor. In the event that the color palette does not appear in the block editor, you should select the Enforce Color option.

If you use the Classic editor to create your content then tick the Add to classic editor checkbox.

Now that you have learned to add a custom color palette to the WordPress editor, you can use it to create colorful pages in WordPress and also maintain design consistency at the same time.

No drab-looking WordPress posts any longer.

Did you find this tutorial useful and easy to follow? Let me know in the comments below.

Download the WordPress SEO eBook

Go from WordPress SEO Zero to Hero in no time. Also receive 2 Bonus PDFs with this free eBook.

Give it a try. You will thank yourself later.

About Trishan Mehta

Trishan Mehta is a WordPress fanatic since 2009. When not WordPressing, he is busy exploring hidden natural getaways whenever he can grab an opportunity. You can grab his WordPress SEO eBook to get up to speed with WordPress SEO.

2 thoughts on “How to Add a Color Palette in the WordPress Editor (Block and Classic)”

  1. That is very cool. I was looking for adding color on my block. I can’t understand how people are adding such attractive colors for their posts. I find on google how to use it and I take some advice from the tutorial to add a block with more attractive colors for the post. But, I had an issue of adding color for my block. Then, again I went to the google to find this site. thank you so much for such important information about the WordPress block color plugin. Thanks for your post it is awesome for me.


Leave a Comment