Color swatches
Save named site colors as CSS variables and use them anywhere in the Designer, with opacity control.
The Colors panel stores your palette. Each color has a name and an RGBA value and becomes a CSS custom property, so changing a swatch updates every place it is used. In any color field you can pick a swatch, and set an opacity on top of it without making a new color.
How it works
- Colors panel: search, Create Color, edit name and value, right click to copy the variable or value, Delete with confirm.
- Name: spaces become -, only letters, digits and -, up to 70 characters, default 'new-color'.
- Value: rgba(...) format, default rgba(255,255,255,1.00).
- Output: main { --name: value; } in the site CSS.
- Using a swatch writes var(--name) into the property.
- Opacity on a variable is written with relative color syntax, for example rgb(from var(--brand) r g b / 50%) or hsl(...).
- Changes to name and value are in undo history.
- Located in the left sidebar under Colors (tab group with Classes).
When to use it
- Define brand colors once and use them on every button
- Switch a theme color site wide in one edit
Limitations
- Swatches are single values; there are no light or dark modes (Variables and modes are only planned)
- Opacity on variables relies on CSS relative color syntax support in the browser
Availability
- Works in Designer.
- Included in every plan.
How to use it.
- Open Colors in the left sidebar
- Click Create Color
- Name it and set the value
- Pick it from any color field in the Design panel
Questions.
Are swatches CSS variables?
Can I use a swatch with transparency?
Related features.
Variables and modes
Planned: grouped CSS variables with global modes (for example dark theme) and per mode style overrides.
Design panel
A visual CSS editor for layout, spacing, size, position, typography, backgrounds, borders, effects and more.
Native class system
Create reusable CSS classes, combine several on one element, and edit them visually across breakpoints and states.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→