Website Color Visualizer

Preview color combinations on headers, CTA buttons, cards, borders and forms across four website layouts. Compare light and dark palettes, test mobile width, check WCAG text contrast and export CSS or JSON.

Edit interface colors

Use a color picker or enter a HEX value for each role. The preview updates immediately.

Drafts stay in this browser and never replace your edits automatically. Download JSON for an independent backup.

You can open a palette directly from Palette Generator or choose a palette saved in this browser.

Website preview

Preview the same layout in light and dark modes. Each mode keeps its own six colors. Reset affects only the current mode; the phone view changes layout only, not the palette or your website theme.

Viewing: light themeDesktop preview width

Landing page · one theme shown.

Studio ColorGet started
WELCOME

Make your brand feel distinctive

See how your colors work on headings, content, action buttons and familiar interface elements.

Explore services →
HIGHLIGHTThoughtful design

A coherent palette makes content and actions easier to recognize.

Accent
Consistent interface

Surfaces, text and buttons use the same palette.

Easy to use

Review the design before using the exported CSS.

On-brand

Adjust HEX values to explore alternatives.

FORM

Subscribe to updates

Check labels, text and form-field contrast.

SubscribeLearn moreDisabled
NOTIFICATIONS

System status

Success

Your changes have been saved.

Notice

Review your information before continuing.

Something went wrong

Please try that action again.

Status indicators use text, not color alone.

WCAG text contrast

Four text/background pairs are checked with WCAG 2.2 contrast ratios. Regular text needs 4.5:1 for AA or 7:1 for AAA. Button and accent text use whichever of black or white offers higher contrast. These checks do not certify focus styles, charts, images or the entire website.

Choose Suggest color on a result to find a nearby OKLab color. The other color stays fixed, so some AAA targets may be impossible by adjusting just one role.

Compare contrast across both themes

Each theme is checked against four text pairs at your selected AA or AAA target. Switch to a failing theme to improve it. These results are not WCAG certification.

Export CSS and JSON

Copy CSS for the current theme (light uses :root, dark uses [data-theme="dark"]) or download both. The export includes six color roles, accessible button text colors and example classes. JSON preserves light/dark HEX role values. Your website must explicitly apply the tokens; exported files do not change your existing CSS automatically.

Export to CSS, Tailwind & SCSSOpen Palette Generator

Select a Website Color Visualizer JSON file. Colors change only when you click Apply JSON.

Share preview configuration

The share link stores six roles for both light and dark themes, plus the current mode. When opened from Palette Generator, it also preserves the return link. No local browsing history or private browser data is shared.

How to preview website colors before development

Start with a background and a readable text color. Use primary for your main call-to-action (CTA), accent for supporting highlights, surface for cards and border for edges and form fields. Each role is an editable HEX value, with a separate palette for light and dark themes.

Check contrast, not only appearance

  1. Choose six roles. Preview the header, CTA buttons, cards, form fields and notices in four layouts: landing page, dashboard, store and sign-in screen.
  2. Compare themes and screen sizes. Switch between light and dark modes, view both at once and inspect the narrow phone simulation.
  3. Review WCAG. Text pairs are checked against a selectable 4.5:1 AA or 7:1 AAA target. Visual cues including relevant borders are separately measured against a 3:1 reference when distinction is important.
  4. Export to implement. Download CSS custom properties or JSON for both modes, then integrate them into your own components and test hover, focus, disabled and error states.

Contrast calculations use the shared Contrast Checker. You can also build a palette in the Palette Generator or create a broader semantic token set in the Brand Color System Generator.

The previews are examples, not a live rendering of your own website. Visual checks and WCAG results do not imply WCAG certification.

Last reviewed: 7 November 2026 · Methodology (Vietnamese)