Table of Contents
- What Are Multi-Level Color Variables in Divi 5?
- Why Use Multi-Level Color Variables?
- Step 1: Open the Divi 5 Variable Manager
- Step 2: Generate a Connected Color Palette
- Step 3: Understand How Relative Colors Work
- Step 4: Create Multi-Level Color Relationships
- Step 5: Apply Color Variables to Your Website Design
- Step 6: Use Divi 5 Presets for Reusable Color Styling
- Step 7: Update Your Website Colors by Changing One Variable
- Step 8: Manage Your Color Variables Efficiently
- Conclusion
Choosing the right colors is an important part of creating a professional website. From headings and buttons to backgrounds, borders, and hover effects, every color contributes to the overall appearance and identity of a website.
However, managing colors across multiple pages can become challenging, especially when a website uses several variations of its primary brand colors. If you need to update your brand colors, manually changing every individual element can take considerable time and may result in inconsistent styling.
Divi 5 makes this process easier with its Multi-Level Color Variables. This feature allows you to create connected color relationships where one color variable can reference another. Instead of managing dozens of unrelated color values, you can build a structured color system that updates automatically when its source colors change.
In this tutorial, we’ll explore how to simplify color management using Divi 5’s Multi-Level Color Variables. You’ll learn how to create a connected color palette, generate lighter and darker variations, organize reusable colors, and apply them throughout your website using Divi presets.
What Are Multi-Level Color Variables in Divi 5?
Divi 5 introduces Design Variables, which allow you to save reusable design values such as colors, fonts, and other styling options.

Multi-Level Color Variables take this concept further by allowing one color variable to reference another color variable.
For example, imagine your website uses a primary brand color. You can create additional colors based on that original color:
- Primary Color: Your main brand color.
- Secondary Color: A related color derived from the primary color.
- Light Color: A lighter variation used for section backgrounds and cards.
- Dark Color: A darker variation used for buttons and hover effects.
- Transparent Color: A variation with reduced opacity for borders and overlays.
The important advantage is that these colors remain connected.
If you update the primary color, the other linked colors can automatically adjust while maintaining their defined relationships.
This reduces repetitive design work and makes it easier to maintain consistent branding across your website.
Why Use Multi-Level Color Variables?
Without a structured color system, website designers often enter individual HEX color values into different modules.
For example, a website might use the same blue color in its header, buttons, headings, and multiple content sections. If the brand color changes, each element may need to be updated separately.
Divi 5’s Multi-Level Color Variables help solve this problem.
Here are some important benefits:
- Centralized Color Management
Store your main brand colors in one place and manage them through the Variable Manager instead of searching through individual modules.
- Automatic Color Relationships
Create secondary colors and variations that reference existing variables. Changes to the source color can flow through the connected color system.
- Consistent Website Design
Reuse the same color variables across buttons, headings, backgrounds, borders, and other design elements.
- Faster Website Updates
Experiment with different brand colors without manually editing every section of your website.
- Easier Design Maintenance
A structured color system makes it easier to manage large websites, multiple landing pages, and reusable layouts.
Step 1: Open the Divi 5 Variable Manager
To get started, open the page you want to edit using the Divi 5 Visual Builder.
From the Visual Builder, open the Variable Manager in the left sidebar.
Locate the Colors group to view the available global color variables.
You can use existing colors or create new ones based on your website’s branding.
If you’re working on a new website, start by identifying your primary brand color and the supporting colors you want to use throughout the design.
For this tutorial, we’ll use a simple example:
- Primary Color: #2457A6
- Secondary Color: A related blue-green variation
- Light Color: A softer variation for backgrounds
- Dark Color: A deeper variation for buttons and hover states
These colors will form the foundation of our connected color system.
Step 2: Generate a Connected Color Palette
Instead of creating every color manually, Divi 5 includes a Color Palette Generator that helps you generate related color variables.
To access it:
- Open the Variable Manager.
- Hover over the Colors group.
- Select Generate Color Palette Variables.
- Set the Variable Type to Color Palette.
- Choose your Primary Color.
- Select a suitable Palette Type.
- Adjust the available color variation settings.
Divi 5 provides different palette options to help you generate complementary or related colors.
For example, an analogous palette generates colors that sit near each other on the color wheel. This is useful when you want a visually consistent color scheme.
You can also adjust the number of shades, tints, and tones.
Here’s what these variations mean:
Tints: Lighter versions of a color, created by increasing its lightness.
Shades: Darker versions of a color, created by decreasing its lightness.
Tones: Softer versions of a color, created by reducing its saturation.
Alpha Variations: Colors with different opacity levels that can be useful for overlays, borders, and other subtle design effects.
Once you’re satisfied with the preview, select Add Variables To My Site and confirm the changes.
Divi 5 will add the generated color variables to your site’s design system.
Important: If you’re updating an existing website, review the generated variable names before applying changes. Existing variables with matching names may be overwritten.
Step 3: Understand How Relative Colors Work
Relative Colors are one of the most useful parts of Divi 5’s color management system.
They allow you to create new color variations based on an existing color variable instead of entering a completely separate HEX value.
Divi 5 uses HSL-based color adjustments to modify referenced colors.
HSL stands for:
- Hue: Controls the actual color family.
- Saturation: Controls how intense or muted the color appears.
- Lightness: Controls how light or dark the color becomes.
- Opacity: Controls how transparent the color is.
For example, suppose your primary brand color is blue.
You can create a lighter variation by increasing its lightness, or create a darker variation by decreasing its lightness.
You can also adjust the hue to create a related secondary color.
The key difference is that the new color remains connected to the original variable.
If you enter a separate HEX value instead, Divi treats it as an independent color. It won’t automatically follow changes to your primary color.
Design Tip: Whenever possible, select an existing color variable as the source before applying color filters. This helps maintain the connection between your colors.
Step 4: Create Multi-Level Color Relationships
Now that you understand relative colors, let’s create a connected color structure.
For this example, we’ll build a color system for a business website.
Our goal is to create a primary brand color, a secondary color, a lighter card background, and supporting text colors.
Start by opening the Variable Manager and expanding the Colors group.
Create a Secondary Color
Select your secondary color variable and configure it to reference the Primary Color.
Adjust its hue to create a related color while maintaining the connection to the original brand color.
Create a Light Background Color
Next, create a new global color variable.
- Select Add Global Color.
- Give the variable a descriptive name, such as Secondary Card Background.
- Open its color picker.
- Select Secondary Color as the source.
- Expand Color Filters.
- Increase the Lightness value to create a lighter variation.
- Keep the hue and saturation adjustments at their desired values.
- Save the variable changes.
Now your card background is based on the secondary color rather than an independent HEX value.
Create a Heading Color
You can also create a heading color based on your primary brand color.
For example, use the primary color as the source and reduce its lightness to create a darker variation.
This can be used for headings and important text elements.
Create a Body Text Color
Create another variable using the heading color as its source.
Reduce the saturation and adjust the lightness to create a softer text color suitable for paragraph content.
Your color relationships will now look something like this:
Primary Color → Secondary Color → Secondary Card Background
Primary Color → Heading Color → Body Text Color
The advantage of this structure is that each color depends on another color instead of existing independently.
If you update the primary color, the connected variations can update with it.
Step 5: Apply Color Variables to Your Website Design
Once your color system is ready, you can start applying it to different sections of your website.
For example, let’s create a simple services section with three cards:
- Website Design
- Digital Marketing
- Business Consulting
Each card can use the same connected color variables.
Here is how you can apply them:
Section Background
Select the main section and assign a light color variable as its background.
This creates a softer background that separates the services section from the rest of the page.
Card Background
Apply your Secondary Card Background variable to all three cards.
Heading Colors
Connect each card heading to your Heading Color variable.
Description Text
Use your Body Text Color variable for the card descriptions.
Borders
Use a transparent variation of your secondary color to create subtle card borders.
Buttons
Use the Primary Color variable as the normal button background and a darker variation for the hover state.
By using the same color variables across all three cards, you can maintain a consistent design without manually entering individual color values.
Step 6: Use Divi 5 Presets for Reusable Color Styling
Color Variables manage your colors, while Divi 5 Presets help you reuse design settings across multiple elements.
These two features work particularly well together.
For example, imagine you have several buttons across your website. Instead of configuring the background, typography, border radius, and hover colors individually, you can create reusable presets.
Divi 5 offers two useful preset types:
Option Group Presets
These allow you to save and reuse settings for a particular group of design options.
For example, you can create a Background Preset that includes:
- Primary Color as the normal background.
- Dark Color as the hover background.
- A suitable focus-state background.
You can then apply this preset to multiple buttons.
Element Presets
Element Presets allow you to save reusable styling for an entire element.
For example, create a button preset that includes:
- Typography settings
- Text color
- Border radius
- Border styling
- Spacing
- Other shared design settings
You can apply the same Element Preset to different buttons while keeping their individual text and links separate.
When combined with Color Variables, presets make it much easier to maintain consistent styling across an entire website.
Step 7: Update Your Website Colors by Changing One Variable
This is where Multi-Level Color Variables become especially useful.
Imagine your client wants to change the website’s primary brand color from blue to green.
Without connected variables, you might need to open multiple sections, buttons, headings, and cards to update their colors individually.
With Divi 5, you can update the Primary Color through the Variable Manager.
Follow these steps:
- Open the Variable Manager.
- Expand the Colors group.
- Locate the Primary Color variable.
- Select the color picker.
- Enter the new brand color.
- Save the variable changes.
- Apply the changes when prompted.
Divi 5 will update the connected colors according to their existing relationships.
Your secondary colors, lighter backgrounds, darker variations, and linked text colors can adjust automatically.
Any elements using the corresponding presets will also reflect the updated values.
However, remember that manually assigned colors or individual overrides may not follow the new palette.
After changing the primary color, review the website to make sure all sections still look balanced.
Step 8: Manage Your Color Variables Efficiently
As your website grows, you may create many different color variables.
Keeping them organized is important for long-term maintenance.
Here are some recommendations:
Use Descriptive Variable Names
Avoid generic names such as Color 1, Color 2, or Color 3.
Instead, use meaningful names such as:
- Primary Color
- Secondary Color
- Primary Light
- Primary Dark
- Card Background
- Heading Text
- Body Text
- Border Color
Keep Your Color Palette Simple
You don’t need dozens of unrelated colors to create a professional website.
Start with a small collection of primary, secondary, neutral, and supporting colors.
Maintain Connected Relationships
When creating color variations, use existing variables as sources instead of entering separate HEX values.
Use Presets for Repeated Elements
If the same button or card design appears throughout your website, use presets to maintain consistent styling.
Review Color Overrides
If an element doesn’t update after changing a variable, check whether an individual color setting is overriding the shared variable or preset.
Test Color Contrast
Always review text and background combinations after changing your brand colors. Make sure buttons, headings, and paragraph text remain readable.
Conclusion
Divi 5’s Multi-Level Color Variables make website color management more organized, flexible, and efficient.
By connecting primary colors with secondary colors, lighter backgrounds, darker variations, and supporting text colors, you can build a reusable color system that responds to changes throughout your website.
Combining these variables with Divi 5 Presets makes the process even more powerful. You can maintain consistent styling across multiple elements and update your website’s overall appearance without manually editing every module.
Whether you’re designing a new website or maintaining an existing WordPress project, using a connected color system can simplify your workflow and make future design updates much easier.
Start with your primary brand color, create a few useful variations, and build a consistent design system using Divi 5’s Multi-Level Color Variables.






