Color System

Learn how the widget's two-layer color system works — general colors for chat and UI elements, home screen colors for the landing view — and how to use auto-generation, templates, and manual overrides.

Overview

Every color in the widget is a CSS custom property injected at runtime from your saved configuration. Colors are organized into two groups:

  • General — controls the chat interface, message bubbles, input fields, borders, and text throughout the widget
  • Home — controls the home screen header, background decorations, cards, and highlight accents

You configure both groups from the Appearance tab in your widget editor.

General Colors

The general palette starts with two main colors. Every other color is derived from these.

Main Colors

ColorWhat it controlsDefault
BackgroundWidget background, panels, and surfaces#FFFFFF
Accent (UI)Buttons, links, active states, and interactive elements#083BD9

Sub-Colors (Advanced)

These are auto-generated from the main colors but can be overridden individually. Expand the Advanced Colors section in the editor to see them.

ColorPurposeHow it's generated
Launcher ButtonColor of the floating chat buttonMirrors the accent color
Muted BackgroundSubtle surface variantBackground shifted by 20
Dimmed BackgroundStronger surface variantBackground shifted by 40
TextPrimary body textLight or dark gray based on background luminance
Muted TextSecondary textSlightly lighter/darker than primary text
Toned TextTertiary textMid-gray tone
Dimmed TextLeast prominent textFaintest gray variant
Highlight TextStrongest emphasis textWhite on dark backgrounds, near-black on light
UI TextText on accent-colored surfacesWhite or black based on accent luminance
User BubbleVisitor's message bubble backgroundBlend of background and accent colors
User Bubble TextText inside visitor's bubbleWhite or black based on bubble color
Input BackgroundMessage input fieldSlightly darker than background
Input TextText in the input fieldWhite or black based on input background
BorderDefault bordersBackground shifted by 20
Muted BorderSubtle bordersBackground shifted by 10
Click Auto-Generate to recalculate all sub-colors from your current Background and Accent. This is the fastest way to get a consistent palette.

Home Screen Colors

The home screen has its own color group so you can give the landing view a distinct look from the rest of the chat.

Main Colors

ColorWhat it controlsDefault
Top HeaderBackground of the header area with logo and greeting#DEE3F9
Main BodyBackground of the card area below the header#DEE3F9
Highlight 1Left-side accent in decoration patterns#F5CAB7
Highlight 2Right-side accent in decoration patterns#799FE6
Highlight 1 and Highlight 2 only appear when using a decoration-style background (Default, Blobs, Spotlight, Gradient, Ripple, or Grid). They're hidden for image and solid backgrounds.

Sub-Colors

ColorPurpose
Header TextText on the top header area
Body TextPrimary text on cards and content
Muted TextSecondary text on the home screen
Dimmed TextLeast prominent home text
Highlight TextStrongest emphasis on the home screen
Muted BackgroundSubtle surface for home cards
Dimmed BackgroundStronger surface variant
DecorationsColor of pattern elements (dots, lines, grids)

Background Styles

The home screen supports nine background styles, configured via the Background Style dropdown:

StyleDescription
DefaultBlobs, grid dots, and vertical lines combined
BlobsSoft color blobs only
SpotlightLarge blurred spotlight from the top center
GradientThree-point gradient mesh
RippleConcentric circles with color highlights
GridCheckerboard pattern with blur spots
Full ImageUploaded image fills the background at reduced opacity
Small ImageUploaded image fades out at 300px height
NoneSolid color only

For Full Image and Small Image, you upload an image file (WebP, PNG, or JPEG) directly in the editor.

Using Templates

Instead of building a palette from scratch, pick one of the five built-in templates:

Open the template picker

Click Templates in either the Theme or Home Screen section of the Appearance tab.

Choose a template

Select from Classic Blue, Midnight Sky, Crimson Night, Twilight Horizon, or Sunset Sands.

Apply to one or both groups

You'll be asked whether to apply the template to only the current color group or to both general and home colors at once.

Fine-tune

Adjust any individual color after applying the template. Use Auto-Generate to recalculate sub-colors if you change the main colors.

Live Preview

All color changes stream to the widget preview in real time via postMessage. You can see exactly how your palette looks across the home screen, chat, and other views before saving.

Colors are stored as part of your widget configuration. Each widget can have its own independent color scheme.