Description
Color Palette Block helps you create and showcase curated color collections directly in the WordPress block editor.
It is ideal for design systems, brand documentation, UI references, and visual style guides.
With Color Palette Block, you can add multiple swatches, switch between unique display styles, and copy each color in common code formats for development and handoff.
Key Features
- Multiple display styles – Choose from Square, Polaroid, Circle, and Droplet swatch presentations.
- Flexible color code output – Copy color values in HEX, RGB, HSL, and CSS variable formats.
- Zero Dependencies No jQuery or heavy JS frameworks powered by the Interactivity API.
- Theme color integration – Pull colors directly from your active theme palette.
- Random palette generation – Quickly generate swatches and auto-suggest names.
- Responsive by Default – Palettes adapt cleanly across desktop and mobile.
Why Choose BlaBlaBlocks Color Palette Block?
Because color decisions need to be both visual and usable.
Color Palette Block makes it easy to present colors clearly for designers, clients, and developers while keeping everything inside the native Gutenberg workflow.
- No shortcodes or custom HTML required.
- Editor-first workflow with instant visual feedback.
- Great for brand kits, style guides, and component libraries.
How It Works
- Insert the Color Palette block in any post or page.
- Add swatches manually, import from theme colors, or generate random swatches.
- Select your preferred display style and swatch sizing.
- Copy color values in the format you need while previewing changes instantly.
Use Cases
- Build a brand color reference page for teams or clients.
- Publish design system palettes with reusable values.
- Share developer-ready color specs with copyable code formats.
- Create inspiration boards with quick random generation.
Available Display Styles
1. Square
Classic rectangular swatches for clean, structured palette layouts.
2. Polaroid
Card-style swatches with a framed visual treatment.
3. Circle
Rounded swatches for compact, modern palette presentations.
4. Droplet
Teardrop-inspired swatches for a more expressive visual style.
Customization Options
- Swatch display style
- Swatch sizing controls
- Theme color import
- Random palette generation
- Auto-generated swatch naming
- Per-swatch code copy in multiple formats
Performance & Optimization
- Designed for the block editor workflow with straightforward controls.
- Keeps palette management simple for both content creators and developers.
- Responsive output helps maintain consistent presentation across devices.
Open Source and Free
BlaBlaBlocks Color Palette Block is open source and free to use. Contributions and feedback are welcome.
Screenshots
Blocks
This plugin provides 1 block.
- Color Palette Build and share beautiful color palettes with multiple display styles and easy color code copying.
Installation
You can install this plugin either automatically through the WordPress admin or manually via upload/FTP.
Automatic
- Log in to your WordPress dashboard.
- Navigate to Plugins > Add New.
- Search for “BlaBlaBlocks Color Palette Block”, then click Install Now.
- Activate the plugin.
Manual
- Download the plugin ZIP from WordPress.org or GitHub.
- Upload the
color-palette-blockfolder to/wp-content/plugins/. - Go to Plugins in wp-admin and activate BlaBlaBlocks Color Palette Block.
FAQ
-
1. How do I add colors to my palette?
-
You can add colors in several ways:
* Click the “Add Color” button in the block toolbar.
* Use the + button in the swatch list/grid.
* Import theme colors using the “Theme Colors” option.
* Generate random swatches using “Surprise Me”. -
2. What color formats can I copy?
-
You can copy colors in HEX (
#ffffff), RGB (rgb(255,255,255)), HSL (hsl(0,0%,100%)), and CSS variable (--color-name) formats. -
3. Can I change how the colors are displayed?
-
Yes. You can choose from four display styles:
* Square (default)
* Polaroid
* Circle
* Droplet -
4. Are color names automatically generated?
-
Yes. New swatches can receive auto-generated names based on color values, and you can edit them anytime.
-
5. Is the block responsive?
-
Yes. The palette layout is responsive and adapts to different screen sizes.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Color Palette Block” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Color Palette Block” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.0
- Multiple display styles (Square, Polaroid, Circle, Droplet).
- Color code copying in multiple formats (HEX, RGB, HSL, CSS variable).
- Theme color integration.
- Random palette generation with auto-generated color names.
- Responsive design improvements.
- Interactive color picker and sizing options.
1.1.0
- Compatibility with Gutenberg 3.1.x.
- ES import for WordPress dependencies.
- Minor UI tweaks.
1.0.0
- Initial plugin release.



