A shopper fingers you an emblem, possibly a brief model information, and a couple of licensed hex codes. You open Divi 5, get started development within the Visual Builder, and temporarily notice the problem isn’t the format. It’s shade variation.
A model shade by itself isn’t sufficient for a complete website online. You wish to have lighter variations for backgrounds, darker variations for hover states, muted variations for borders, and clear variations for overlays or shadows. Guessing the ones values by way of eye could make the design really feel inconsistent rapid.
Design Variables assist you to retailer reusable colours in Divi 5, however the Colour Scale Generator within Divi 5’s Variable Generator is helping you create the supporting colours first. Ranging from one supply shade, it could possibly generate tints, sunglasses, tones, and transparencies that keep relative to the unique model price the use of relative HSL filters.
This walkthrough covers that specific workflow: taking the logo colours you have already got and turning every one right into a usable Colour Scale in Divi 5.
In case you are ranging from a unmarried shade and nonetheless want to create the wider palette round it, learn ranging from a unmarried shade and nonetheless want to create our educational on how to turn one brand color into an entire Divi 5 color palette first.
When The Complete Palette Generator Isn’t The Proper Beginning Level
Divi 5 features a broader palette generator for a distinct state of affairs: if you find yourself ranging from one shade and want to create a complete set of major, secondary, and accessory colours, every with its personal supporting diversifications.
That workflow comes in handy for greenfield tasks the place the logo palette continues to be being outlined as a part of the website online construct.
This instructional is for the other state of affairs. The customer’s model colours exist already. You do not want to generate new base colours or reconsider the palette. You wish to have lighter, darker, muted, and clear diversifications of the precise colours you got.
That’s what the Colour Scale Generator is for.
The similar Variable Generator panel additionally contains Colour Solidarity, which is able to assist if the customer’s palette is lacking a useful shade you continue to want, comparable to a luck, caution, or realize shade. But if the supply colours are already locked in, skip Colour Solidarity and get started with Colour Scales.
Opening The Colour Scale Generator
Open the Variable Generator from the Design Variable Supervisor within the chronic left sidebar. Then use the Variable Sort dropdown and make a choice Colour Scales.
As soon as Colour Scales is chosen, click on the generator icon to open the Colour Scale Generator.
Two fields force the entirety else at the panel: Supply Colour and Colour Prefix.
Supply Colour is the precise model shade you had been passed. Paste within the hex price from the customer’s taste information, emblem record, or an present Colour Variable already stored at the web site. Each coloration, tint, tone, and transparency generated in a while is calculated relative to this price.
Colour Prefix labels all of the circle of relatives of variables produced from that shade. Divi can default to the hex code, however a role-based identify is way more uncomplicated to make use of later. Names like primary-, secondary-, accent-, or brand-blue- make the variable listing more uncomplicated to scan throughout the builder.
Tints, Sun shades, Tones, And Transparencies
The Colour Scale Generator creates 4 varieties of diversifications from one supply shade. Each and every one has a distinct activity in an actual website online design.
Tints are lighter variations of the supply shade. Use them for backgrounds, playing cards, callouts, badges, and spaces the place you wish to have a delicate trace of the logo shade with out making the phase really feel too heavy.

Sun shades are darker variations of the supply shade. They’re helpful for hover states, energetic states, darker buttons, emphasised hyperlinks, and textual content that wishes extra distinction towards a lighter shade from the similar scale.

Tones are muted, desaturated variations of the supply shade. They paintings neatly for borders, dividers, secondary textual content, shape outlines, and UI main points that are supposed to really feel associated with the logo with out competing with the primary shade.

Transparencies are alpha variants of the supply shade at other opacity ranges. Use them for overlays, symbol scrims, shadows, glows, and layered background results that are supposed to select up the logo shade as a substitute of the use of flat black or white.

Environment The Rely And The Depth
For every of the 4 variation varieties, two controls form the general scale: depend and depth.
Quantity Of Tints, Quantity Of Sun shades, Quantity Of Tones, and Quantity Of Transparencies set what number of steps Divi creates in every development.
4 is a sensible start line for many builds. It will provide you with sufficient vary for backgrounds, hover states, borders, and overlays with out developing a protracted listing of variables it’s possible you’ll by no means use.
Tint Depth, Color Depth, Tone Depth, and Alpha Depth keep an eye on how a ways every development strikes clear of the supply shade.
If the depth is just too low, the generated colours might glance virtually similar. Whether it is too top, the dimensions might bounce too temporarily to near-white, near-black, or very muted values. The helpful vary typically sits within the center, the place every step is visibly other however nonetheless hooked up to the supply shade.
Decrease-numbered steps within the tint, coloration, and tone progressions sit down closest to the supply shade. Upper-numbered steps transfer additional clear of it. That implies the perfect tint is the lightest, the perfect coloration is the darkest, and the perfect tone is probably the most muted.
Rely and depth paintings in combination. Rely controls what number of steps exist. Depth controls how a ways the total development stretches. Extra steps with the similar depth create smaller jumps between colours. Fewer steps create greater jumps.
Transparencies observe the other conference: the lowest-numbered alpha step is probably the most clear, whilst the highest-numbered step approaches complete opacity.
Naming Each and every Variation
Underneath the depend and depth controls, 4 extra fields keep an eye on the naming for every variation kind: Tints Prefix, Sun shades Prefix, Tones Prefix, and Alpha Suffix.
Divi defaults those to labels like tint-, shade-, tone-, and alpha-. The ones defaults paintings neatly, however you’ll rename them to compare your group’s language. As an example, you may use light-, dark-, neutral-, and transparent-.
The necessary phase is consistency. If you happen to generate scales for a major, secondary, and accessory shade, use the similar naming development for every one.
Mixed with the Colour Prefix box, the general variable identify follows a predictable development:
Colour Prefix + Variation Sort + Step Quantity
As an example, a major shade set to generate 4 tints creates primary-tint-1 via primary-tint-4. An accessory shade set to generate 4 transparencies creates accent-alpha-1 via accent-alpha-4.
Checking The Outcome Sooner than Committing To It
The fitting facet of the Colour Scale Generator displays a reside preview of each and every variation ahead of you upload it to the web site. Each and every row displays the variable identify it’s going to create, together with a swatch that updates as you regulate the supply shade, depend, depth, and naming fields.
Use this preview to test whether or not the dimensions comes in handy ahead of committing it to the Design Variable Supervisor. The tints will have to be mild sufficient to make use of as backgrounds. The sunglasses will have to be darkish sufficient for hover states or distinction. The tones will have to really feel muted however nonetheless associated with the supply shade. The transparencies will have to provide you with sufficient vary for overlays and shadows.
Display CSS finds the CSS at the back of every generated variation, together with the relative HSL values and calculations. This comes in handy as a reference, however it isn’t a required workflow step. Divi handles the calculations for you, so you do not want to duplicate, edit, or care for that CSS by way of hand.
Including The Variables To Your Web site
When the preview seems proper, click on Upload Variables To My Web site.
Divi writes each and every variation these days proven within the preview into the Design Variable Supervisor, the use of the Colour Prefix and naming development you outlined. The brand new variables are then to be had during the Visible Builder.
Repeat the method for each and every model shade the customer supplied.
A regular handoff may come with a major shade, a secondary shade, and an accessory shade. Run every one throughout the Colour Scale Generator one by one and provides every shade circle of relatives its personal prefix. That helps to keep the generated variables arranged by way of supply shade.
The usage of The Generated Colours In Your Designs
As soon as the Colour Scale variables exist within the Design Variable Supervisor, they seem in color-enabled fields around the Visible Builder.
Open a Background Colour, Textual content Colour, Border Colour, Field Shadow Colour, or button shade box, and make a selection the generated shade from the variable picker as a substitute of typing a brand new hex price.
As an example, a button can use the supply major shade at leisure and turn to primary-shade-3 on hover. A card can use primary-tint-1 as its background and primary-tone-2 for its border. A hero symbol can use primary-alpha-2 as an overlay.
Those variables additionally paintings within Choice Teams and Part Presets. That implies a border, shadow, background, or hover remedy constructed from a generated Colour Scale variable may also be stored as soon as and reused around the web site as a substitute of rebuilt by way of hand.
A couple of puts those diversifications are particularly helpful:
- Hover and energetic states: Use a darker coloration for buttons, hyperlinks, tabs, or interactive playing cards.
- Cushy backgrounds: Use tints for playing cards, callouts, pricing blocks, and have sections.
- Field shadows: Use a transparency variant of the logo shade as a substitute of defaulting to black.
- Overlays and scrims: Use alpha variants over pictures or video backgrounds to stay textual content readable.
- Borders and dividers: Use tones when you wish to have separation with out the use of full-strength model shade.
- Disabled or inactive states: Use muted tones to keep up a correspondence lowered emphasis whilst staying throughout the model palette.
Flip Emblem Colours Into Usable Colour Scales
Emblem colours passed down from a shopper don’t at all times come with the supporting vary an actual website online wishes. You will have the licensed supply colours, however you continue to want lighter backgrounds, darker hover states, muted borders, branded transparencies, and delicate UI main points.
The Colour Scale Generator solves that specific drawback. It begins from the licensed model shade, generates tints, sunglasses, tones, and transparencies, previews the total scale, and shops the end result as Design Variables in a position to make use of throughout Divi 5.
As an alternative of guessing supporting hex values by way of eye, you get a structured Colour Scale that remains tied to the supply shade and stays more uncomplicated to reuse throughout the entire web site.
The put up Creating Color Variations From Brand Colors In Divi 5 gave the impression first on Elegant Themes Blog.



0 Comments