Palg

Template previews

Swatches can lie. See your palette applied to eight realistic layouts, assign colors to roles, and get warnings wherever text becomes hard to read.

Get started

    How to use it

    1. Paste a palette or arrive from the generator with one already loaded.
    2. Assign palette colors to roles: background, surface, primary, accent and text — or press Auto.
    3. Switch between the eight templates to see the palette in context.
    4. Fix any contrast warnings, then export or save the palette.

    Why role mapping matters

    The same five colors can produce a calm or a loud design depending on which one covers most of the screen. Palg’s templates use five roles. Background covers the largest area, surface is for cards and panels, primary carries buttons and key actions, accent highlights details, and text is for type. Auto assigns the lightest color to the background, the darkest to text, and the most saturated to primary, which is a sensible default for light designs. Swap them for dark mode.

    Built-in contrast warnings

    Each template checks its real text pairs — text on background, text on surface, button labels on primary — against WCAG 2.2 AA. Failing pairs are listed under the preview with their ratio, so you can fix them in the contrast checker before a developer finds them.

    The eight templates

    A marketing landing page, a mobile app screen, an analytics dashboard, an event poster, a business card, a simple logo lockup, a bar chart and a product packaging label. They are our own SVG and HTML drawings, kept deliberately generic so the colors do the talking.

    FAQ

    Can I use the templates in my own work?
    They are previews to judge colors, not design assets, but you are welcome to screenshot them for client presentations.
    How does Auto assign roles?
    Lightest to background, second-lightest to surface, darkest to text, most saturated to primary, the remaining color to accent.
    Do the templates support dark palettes?
    Yes. Assign a dark color to background and a light one to text; the warnings update instantly.
    Why is a warning shown on the chart?
    Adjacent bars need 3:1 contrast against each other and the background to be distinguishable as graphics.

    More Palg tools

    • Palette generator — Press Space for a new palette, lock what you like, keep going.
    • Explore palettes — 600+ hand-tuned palettes by mood, season, industry and era.
    • Image color picker — Pull a palette from any photo, then fine-tune the pickers.
    • Contrast checker — WCAG 2.2 AA/AAA ratios, fixes that pass, APCA as a second opinion.
    • Color blindness simulator — See palettes and images through seven types of color vision.
    • Gradient maker — Linear, radial and conic gradients with OKLCH interpolation.
    • Palette collage — Lay out swatches and a photo, export a PNG mood card.
    • Color variations — Tints, shades, tones and a Tailwind-style 50–950 scale.
    • Color Assistant — Describe a mood or brand; get three rule-based palettes with reasons.
    • Your library — Saved palettes and gradients in collections, stored on this device.

    Background reading: color guides · 1,000 named colors · install Palg as an app