I built ColorSnap to generate Tailwind color palettes from images
I built ColorSnap to generate Tailwind color palettes from images
Hey HN, After spending countless hours tweaking colors in side projects and manually trying to match screenshots to Tailwind CSS classes, I decided to build a tool to automate it. ColorSnap lets you upload an image and instantly extract the most dominant colors. It then maps those colors to the closest Tailwind CSS utility classes using LAB color comparison (ΔE). You get clean hex values and ready-to-use class names like bg-indigo-500 or text-pink-400. Built with Nextjs, Tailwind CSS, and a bit of canvas/image processing. No external APIs — it runs entirely in the browser. Outcome: I’ve used it in my last 3 frontend projects to speed up color decisions and get consistent styling fast, especially for hero sections and themed UI blocks.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Tailwind Custom Color Palettes and GPT3
Generate color palettes in all four color schemes
Pokemon Color Palettes
Generate color palettes from any website.
PaletteList – Generate 10k color palettes after picking 2 colors
Iris – Color palettes editor
Generate Color palettes using AI
ColorFavs – Create and Discover Color Palettes
Create your color palettes in context, not isolation
Hand-picked Color Palettes from the best designed websites