shadcnthemes
All tools

Generate a shadcn/ui theme from an image

Upload a logo, screenshot or photo and get a complete shadcn/ui theme built from its colors, with accessible light and dark palettes, ready to export.

Your theme will appear here. Images are processed in your browser and never uploaded.

How it works

  1. 1

    Drop in an image. It's analyzed in your browser and never uploaded.

  2. 2

    The dominant colors are found by clustering pixels in the perceptual OKLab color space, and the most brand-like color becomes your primary.

  3. 3

    Pick a different swatch or harmony if you like, then copy the CSS or open the theme in the editor.

FAQ

What images work best?

Logos and brand assets with a clear main color. Busy photos work too: you'll get a palette of their dominant tones to choose from.

Are text colors accessible?

Yes. Foreground colors are chosen by measured contrast against each surface.

More tools