{"id":83707,"date":"2018-03-29T03:59:44","date_gmt":"2018-03-29T03:59:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/color-palette-block\/"},"modified":"2026-05-19T14:17:04","modified_gmt":"2026-05-19T14:17:04","slug":"color-palette-block","status":"publish","type":"plugin","link":"https:\/\/sah.wordpress.org\/plugins\/color-palette-block\/","author":15139597,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"7.0","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"BlaBlaBlocks Color Palette Block","header_author":"LUBUS","header_description":"Add color palettes to your website","assets_banners_color":"8c95d4","last_updated":"2026-05-19 14:17:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/lubus.in","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2136,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"AjitBohra","date":"2018-03-29 11:32:59"},"1.1.0":{"tag":"1.1.0","author":"punitv342","date":"2025-12-18 05:02:04"},"2.0.0":{"tag":"2.0.0","author":"punitv342","date":"2026-05-19 14:17:04"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3537463,"resolution":"128x128","location":"assets","locale":"","width":400,"height":400},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3537463,"resolution":"256x256","location":"assets","locale":"","width":800,"height":800}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3537463,"resolution":"1544x500","location":"assets","locale":"","width":4825,"height":1563},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3537463,"resolution":"772x250","location":"assets","locale":"","width":2412,"height":781}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3539151,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/post.php?post=4&action=edit\",\"login\":true,\"features\":{\"networking\":true},\"steps\":[{\"step\":\"updateUserMeta\",\"meta\":{\"admin_color\":\"modern\",\"show_welcome_panel\":0},\"userId\":1},{\"step\":\"setSiteOptions\",\"options\":{\"blogname\":\"Wordpress BlaBlaBlocks Color Palette Block\"}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"color-palette-block\"},\"options\":{\"activate\":true}},{\"step\":\"importWxr\",\"file\":{\"resource\":\"url\",\"url\":\"https:\\\/\\\/raw.githubusercontent.com\\\/lubusIN\\\/color-palette-block\\\/playground\\\/_playground\\\/demo-content.xml\"}}]}"}},"all_blocks":{"blablablocks\/color-palette":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"blablablocks\/color-palette","version":"2.0.0","title":"Color Palette","category":"design","icon":"art","description":"Build and share beautiful color palettes with multiple display styles and easy color code copying.","attributes":{"swatchSize":{"type":"number"}},"example":{"attributes":{"className":"is-style-circle"},"innerBlocks":[{"name":"blablablocks\/color-palette-swatch","attributes":{"color":"#ff6b6b","name":"Coral Red"},"innerBlocks":[{"name":"blablablocks\/color-palette-swatch-color","attributes":{"label":"Coral Red","style":{"color":{"background":"#ff6b6b"}}}},{"name":"blablablocks\/color-palette-swatch-name","attributes":{"content":"Coral Red"}},{"name":"blablablocks\/color-palette-swatch-code"}]},{"name":"blablablocks\/color-palette-swatch","attributes":{"color":"#4ecdc4","name":"Teal"},"innerBlocks":[{"name":"blablablocks\/color-palette-swatch-color","attributes":{"label":"Teal","style":{"color":{"background":"#4ecdc4"}}}},{"name":"blablablocks\/color-palette-swatch-name","attributes":{"content":"Teal"}},{"name":"blablablocks\/color-palette-swatch-code"}]},{"name":"blablablocks\/color-palette-swatch","attributes":{"color":"#45b7d1","name":"Sky Blue"},"innerBlocks":[{"name":"blablablocks\/color-palette-swatch-color","attributes":{"label":"Sky Blue","style":{"color":{"background":"#45b7d1"}}}},{"name":"blablablocks\/color-palette-swatch-name","attributes":{"content":"Sky Blue"}},{"name":"blablablocks\/color-palette-swatch-code"}]},{"name":"blablablocks\/color-palette-swatch","attributes":{"color":"#96ceb4","name":"Mint Green"},"innerBlocks":[{"name":"blablablocks\/color-palette-swatch-color","attributes":{"label":"Mint Green","style":{"color":{"background":"#96ceb4"}}}},{"name":"blablablocks\/color-palette-swatch-name","attributes":{"content":"Mint Green"}},{"name":"blablablocks\/color-palette-swatch-code"}]}]},"styles":[{"name":"default","label":"Square","isDefault":true},{"name":"polaroid","label":"Polaroid"},{"name":"circle","label":"Circle"},{"name":"droplet","label":"Droplet"},{"name":"palette","label":"Palette"}],"supports":{"html":false,"align":["wide","full"],"interactivity":true,"color":{"background":true,"text":false,"__experimentalDefaultControls":{"background":true}},"layout":{"allowSwitching":true,"allowInheriting":false,"default":{"type":"grid","minimumColumnWidth":"100px"}},"spacing":{"margin":true,"padding":true,"blockGap":true,"__experimentalDefaultControls":{"margin":true,"padding":true,"blockGap":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}}},"textdomain":"color-palette-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php","viewScriptModule":"file:.\/view.js"}},"tagged_versions":["1.0","1.1.0","2.0.0"],"block_files":["\/tags\/2.0.0\/build\/index.js","\/tags\/2.0.0\/build\/index.css","\/tags\/2.0.0\/build\/style-index.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3537463,"resolution":"1","location":"assets","locale":"","width":2880,"height":1560},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3537463,"resolution":"2","location":"assets","locale":"","width":2880,"height":1560},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3537463,"resolution":"3","location":"assets","locale":"","width":2880,"height":1304}},"screenshots":{"1":"Add and manage color swatches in the editor.","2":"Switch between Square, Polaroid, Circle, and Droplet display styles.","3":"Copy color values in HEX, RGB, HSL, or CSS variable format."}},"plugin_section":[172757],"plugin_tags":[1220,1257,215460,148076,18790],"plugin_category":[],"plugin_contributors":[98255,98254,245419],"plugin_business_model":[],"class_list":["post-83707","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-block","plugin_tags-color","plugin_tags-design-system","plugin_tags-gutenberg","plugin_tags-palette","plugin_contributors-ajitbohra","plugin_contributors-lubus","plugin_contributors-punitv342","plugin_committers-ajitbohra","plugin_committers-lubus","plugin_committers-punitv342"],"banners":{"banner":"https:\/\/ps.w.org\/color-palette-block\/assets\/banner-772x250.png?rev=3537463","banner_2x":"https:\/\/ps.w.org\/color-palette-block\/assets\/banner-1544x500.png?rev=3537463","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/color-palette-block\/assets\/icon-128x128.png?rev=3537463","icon_2x":"https:\/\/ps.w.org\/color-palette-block\/assets\/icon-256x256.png?rev=3537463","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/color-palette-block\/assets\/screenshot-1.png?rev=3537463","caption":"Add and manage color swatches in the editor."},{"src":"https:\/\/ps.w.org\/color-palette-block\/assets\/screenshot-2.png?rev=3537463","caption":"Switch between Square, Polaroid, Circle, and Droplet display styles."},{"src":"https:\/\/ps.w.org\/color-palette-block\/assets\/screenshot-3.png?rev=3537463","caption":"Copy color values in HEX, RGB, HSL, or CSS variable format."}],"raw_content":"<!--section=description-->\n<p>Color Palette Block helps you create and showcase curated color collections directly in the WordPress block editor.\nIt is ideal for design systems, brand documentation, UI references, and visual style guides.<\/p>\n\n<p>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.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Multiple display styles<\/strong> - Choose from <strong>Square<\/strong>, <strong>Polaroid<\/strong>, <strong>Circle<\/strong>, and <strong>Droplet<\/strong> swatch presentations.<\/li>\n<li><strong>Flexible color code output<\/strong> - Copy color values in <strong>HEX<\/strong>, <strong>RGB<\/strong>, <strong>HSL<\/strong>, and <strong>CSS variable<\/strong> formats.<\/li>\n<li><strong>Zero Dependencies<\/strong> No jQuery or heavy JS frameworks powered by the <strong>Interactivity API<\/strong>.<\/li>\n<li><strong>Theme color integration<\/strong> - Pull colors directly from your active theme palette.<\/li>\n<li><strong>Random palette generation<\/strong> - Quickly generate swatches and auto-suggest names.<\/li>\n<li><strong>Responsive by Default<\/strong> - Palettes adapt cleanly across desktop and mobile.<\/li>\n<\/ul>\n\n<h3>Why Choose BlaBlaBlocks Color Palette Block?<\/h3>\n\n<p>Because color decisions need to be both visual and usable.\nColor Palette Block makes it easy to present colors clearly for designers, clients, and developers while keeping everything inside the native Gutenberg workflow.<\/p>\n\n<ul>\n<li>No shortcodes or custom HTML required.<\/li>\n<li>Editor-first workflow with instant visual feedback.<\/li>\n<li>Great for brand kits, style guides, and component libraries.<\/li>\n<\/ul>\n\n<h3>How It Works<\/h3>\n\n<ol>\n<li>Insert the <strong>Color Palette<\/strong> block in any post or page.<\/li>\n<li>Add swatches manually, import from theme colors, or generate random swatches.<\/li>\n<li>Select your preferred display style and swatch sizing.<\/li>\n<li>Copy color values in the format you need while previewing changes instantly.<\/li>\n<\/ol>\n\n<h3>Use Cases<\/h3>\n\n<ul>\n<li>Build a <strong>brand color reference<\/strong> page for teams or clients.<\/li>\n<li>Publish <strong>design system palettes<\/strong> with reusable values.<\/li>\n<li>Share <strong>developer-ready color specs<\/strong> with copyable code formats.<\/li>\n<li>Create <strong>inspiration boards<\/strong> with quick random generation.<\/li>\n<\/ul>\n\n<h3>Available Display Styles<\/h3>\n\n<h4>1. Square<\/h4>\n\n<p>Classic rectangular swatches for clean, structured palette layouts.<\/p>\n\n<h4>2. Polaroid<\/h4>\n\n<p>Card-style swatches with a framed visual treatment.<\/p>\n\n<h4>3. Circle<\/h4>\n\n<p>Rounded swatches for compact, modern palette presentations.<\/p>\n\n<h4>4. Droplet<\/h4>\n\n<p>Teardrop-inspired swatches for a more expressive visual style.<\/p>\n\n<h3>Customization Options<\/h3>\n\n<ul>\n<li>Swatch display style<\/li>\n<li>Swatch sizing controls<\/li>\n<li>Theme color import<\/li>\n<li>Random palette generation<\/li>\n<li>Auto-generated swatch naming<\/li>\n<li>Per-swatch code copy in multiple formats<\/li>\n<\/ul>\n\n<h3>Performance &amp; Optimization<\/h3>\n\n<ul>\n<li>Designed for the block editor workflow with straightforward controls.<\/li>\n<li>Keeps palette management simple for both content creators and developers.<\/li>\n<li>Responsive output helps maintain consistent presentation across devices.<\/li>\n<\/ul>\n\n<h3>Open Source and Free<\/h3>\n\n<p>BlaBlaBlocks Color Palette Block is open source and free to use. Contributions and feedback are welcome.<\/p>\n\n<ul>\n<li><p><strong>Source Code:<\/strong>\n<a href=\"https:\/\/github.com\/lubusIN\/color-palette-block\">https:\/\/github.com\/lubusIN\/color-palette-block<\/a><\/p><\/li>\n<li><p><strong>Report Issues:<\/strong>\n<a href=\"https:\/\/github.com\/lubusIN\/color-palette-block\/issues\">https:\/\/github.com\/lubusIN\/color-palette-block\/issues<\/a><\/p><\/li>\n<li><p><strong>Changelog:<\/strong>\n<a href=\"https:\/\/github.com\/lubusIN\/color-palette-block\/blob\/master\/CHANGELOG.md\">https:\/\/github.com\/lubusIN\/color-palette-block\/blob\/master\/CHANGELOG.md<\/a><\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>You can install this plugin either automatically through the WordPress admin or manually via upload\/FTP.<\/p>\n\n<h4>Automatic<\/h4>\n\n<ol>\n<li>Log in to your WordPress dashboard.<\/li>\n<li>Navigate to Plugins &gt; Add New.<\/li>\n<li>Search for \"BlaBlaBlocks Color Palette Block\", then click Install Now.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<h4>Manual<\/h4>\n\n<ol>\n<li>Download the plugin ZIP from WordPress.org or GitHub.<\/li>\n<li>Upload the <code>color-palette-block<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Go to Plugins in wp-admin and activate <strong>BlaBlaBlocks Color Palette Block<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"1.%20how%20do%20i%20add%20colors%20to%20my%20palette%3F\"><h3>1. How do I add colors to my palette?<\/h3><\/dt>\n<dd><p>You can add colors in several ways:\n* Click the \"Add Color\" button in the block toolbar.\n* Use the + button in the swatch list\/grid.\n* Import theme colors using the \"Theme Colors\" option.\n* Generate random swatches using \"Surprise Me\".<\/p><\/dd>\n<dt id=\"2.%20what%20color%20formats%20can%20i%20copy%3F\"><h3>2. What color formats can I copy?<\/h3><\/dt>\n<dd><p>You can copy colors in HEX (<code>#ffffff<\/code>), RGB (<code>rgb(255,255,255)<\/code>), HSL (<code>hsl(0,0%,100%)<\/code>), and CSS variable (<code>--color-name<\/code>) formats.<\/p><\/dd>\n<dt id=\"3.%20can%20i%20change%20how%20the%20colors%20are%20displayed%3F\"><h3>3. Can I change how the colors are displayed?<\/h3><\/dt>\n<dd><p>Yes. You can choose from four display styles:\n* Square (default)\n* Polaroid\n* Circle\n* Droplet<\/p><\/dd>\n<dt id=\"4.%20are%20color%20names%20automatically%20generated%3F\"><h3>4. Are color names automatically generated?<\/h3><\/dt>\n<dd><p>Yes. New swatches can receive auto-generated names based on color values, and you can edit them anytime.<\/p><\/dd>\n<dt id=\"5.%20is%20the%20block%20responsive%3F\"><h3>5. Is the block responsive?<\/h3><\/dt>\n<dd><p>Yes. The palette layout is responsive and adapts to different screen sizes.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Multiple display styles (Square, Polaroid, Circle, Droplet).<\/li>\n<li>Color code copying in multiple formats (HEX, RGB, HSL, CSS variable).<\/li>\n<li>Theme color integration.<\/li>\n<li>Random palette generation with auto-generated color names.<\/li>\n<li>Responsive design improvements.<\/li>\n<li>Interactive color picker and sizing options.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Compatibility with Gutenberg 3.1.x.<\/li>\n<li>ES import for WordPress dependencies.<\/li>\n<li>Minor UI tweaks.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial plugin release.<\/li>\n<\/ul>","raw_excerpt":"Build and share beautiful color palettes with multiple display styles and easy color code copying.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/83707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=83707"}],"author":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lubus"}],"wp:attachment":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=83707"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=83707"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=83707"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=83707"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=83707"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=83707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}