Bricks Color Framework Builder
Create powerful, modular color frameworks for Bricks Builder. Effortlessly export color profiles, register Gutenberg colors, and generate CSS variables for seamless integration.
Create Color Palette
Generated PHP Snippet
Paste the code into functions.php or use a snippet plugin. Remove <?php if it's already there.
Export Bricks Color Profile
How to Use the Bricks Color Framework Builder:
-
Add Your Color Variables
-
Enter your color variable name (common names:
primary
,secondary
, etc.) without spaces. -
Input the HEX code for your base color.
-
-
Configure Shades & Options
-
Choose how many shades (lighter/darker variants) to generate.
-
Toggle transparency variants (10%–90%) if needed.
-
Opt to include the colors in Gutenberg (WordPress block editor).
-
-
Manage Colors
-
Click “Add Color” to include more variables.
- Click “+Neutral Color” to include a neutral color set.
-
Use “Reset All” to start fresh.
-
-
Copy the PHP Snippet
-
Switch to the right tab to view the generated PHP code.
-
Copy and paste it into your theme’s
functions.php
or a code snippet plugin.
-
-
Activate the Snippet
-
Ensure
<?php
is added at the top if your plugin doesn’t auto-include it. -
Save and activate.
-
-
Export & Import to Bricks
-
Name your color profile (this becomes the JSON filename).
-
Download the JSON file.
-
In Bricks, go to Colors > Select Color Palette (bottom of panel).
-
Click + → Import (download icon) → Upload your JSON file.
-
Refresh the page to see your palette.
-
-
Enjoy! 🎨
Your custom color framework is now ready to use in Bricks Builder & Gutenberg!
Made with ❤️ by Webdivo