Show HN: ColorParser – Parse any color format from messy text into clean panels

From working years ago with Photoshop, then Figma and more recently CSS and Tailwind, converting color formats has always been a pain. You need the exact format, find the right website, deal with comma placement and right formatting, it's annoying... So I built colorparser.com over the weekend. Basically, you paste any messy text with colors in it, and it automatically parses them and creates separate panels for each color. I know most people will have only one color to convert, but it works with many. Then you just click on whatever format you need (RGB, HSL, hex, OKLCH, etc.) to copy it. The nice thing is it handles format variations - so `hsl(200, 100, 50)`, `hsl(200 100 50)` or `hsl(200, 100%, 50%)` all work the same way. When you visit the site, it automatically reads your clipboard and parses any colors it finds, which saves time. Everything runs in the client. Currently supports hex, RGB, RGBA, HSL, HSLA, CMYK, and OKLCH. Planning to add more formats and features in the future. It's free and open source. Thought some of you might find it useful. Works best on desktop.

Demo: https://qt7a9hbcr6.ufs.sh/f/fyvuhoH125pGLsvpcrgR21gHMBmdNi4y...

1 points marclelamy 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton