Skip to content

Count page views and project clicks with PostHog (EU servers)? It loads only if you choose Allow. Privacy

Color Palettes live preview
All projects

Color Palettes

Grab a named color palette and copy it as CSS variables, Tailwind colors, or JSON.

Carrying a palette from an inspiration site into code meant copying hex values one by one and naming the tokens by hand.

Tech Domain · Book Dev|Published|Evidence: Prototype|Next.js, TypeScript

A public prototype demonstrates the interaction; scope and data are intentionally limited.

Case Study

Before

Finding cohesive color palettes for new projects meant browsing several palette sites and then retyping the values into code.

After

You can browse the six presets and copy any palette into code in one of three token formats.

How it's solved

Built a palette shelf, now at /color-palettes in the Devtools Workbench suite, with six hand-picked presets. Click a swatch to copy its HEX value, or export the whole palette as CSS variables, a Tailwind colors block, or JSON.

Trade-offs

Six static presets with HEX values only. There is no WCAG contrast checking, RGB/HSL output, UI preview, or palette generator.

Related Articles

Further reading on related topics from the blog

Related Projects

More in Tech Domain · Book Dev