Looking how to change block editor WordPress colors (Gutenberg)? You might need it when you want to go with a different color scheme from the one registered with your WordPress theme (usually your theme styles dictate colors).
It’s fairly easy to change default colors by using a color picker for individual blocks in the Color Settings menu, but how do you add your custom colors to the block color palette for a quick color change in multiple blocks?
In this guide, we’ll show you that there is a user-friendly way to customize block colors globally with the help of our new Block Editor Colors plugin. Adding a custom Gutenberg color palette, independently of a theme, is now very easy. It’s a free WordPress color palette editor plugin you can download on wp.org.
This tiny WordPress theme color change plugin is a massive deal when you want to reduce the back-and-forth work of applying custom colors. It allows you to add your own colors to the block color/color theme palette and apply them in a click.
In particular, you’ll be able to:
- Change text background color in WordPress
- Change text color WordPress
- Change colors of any Gutenberg blocks you add to pages, etc.
Get more posts like this to your inbox. Fresh WordPress tips & discounts.
So this is how you can customize block colours of the built-in color palette in Gutenberg with the Block Editor Colors plugin:
- Install and activate the plugin. Then go to Settings > Editor Colors.
- There you’ll see a very simple guide, where you can apply all changes from one screen.
- Here you can either add custom colors or change current colors of your theme.
Create custom editor colors
There is a form where you can add custom colors to appear in the block editor color palette. You need to pick a color, set up a color name, and also add a unique slug (it can’t be updated later; it’s used for generating CSS classes).
You can add as many custom colors as needed:
Here is my custom color in the editor color palette – it appeared along with other colors in the block editor in the Getwid theme:
That means now I can use it with other colors as a text or background color for any block that allows this styling. This color palette changer will work for any WordPress Gutenberg theme.
As you can see, these colors can be disabled. If you do that, they will disappear from the palette and CSS classes won’t be generated for them. Also, you can’t edit them – restore them first if you need to edit and use these colors further.
All disabled colors can be either deleted or restored (find them at the bottom of the page).
Change default colors in WordPress
In this section, colors of your active WordPress theme will be displayed. Of course, they change when you switch a theme. If your theme doesn’t provide colors, here you’ll see default colors provided by blocks.
Once you set your colors and save the updates, they become available in the palette. Let’s change background color:
So feel free to just update colors using a color theme picker. When you need to revert colors to the original ones, just click “Reset”.
You can’t delete these colors since they are tied to your theme.
Conclusion: Change WordPress block editor colors easily with a plugin
There is almost nothing that a plugin can’t do in WordPress. The Block Editor Colors plugin allows you to customize default colors or add custom ones and make them available to use throughout the Gutenberg block editor. So it’s going to be helpful when you need to update the whole color scheme of your theme or just want to add a few more custom colors for quick access.
Now you can easily customize default WordPress theme colors inherited by Gutenberg blocks. It’s a very simple plugin you can configure in just one interface. How to change colors in WordPress? Now you know the answer to this question.