Show HN: Mini Hex – Convert 6-digit colors into their closest 3-digit equivalent

3 dduplex 4 5/2/2025, 6:29:01 AM dannyduplex.com ↗
Hello HN,

I made this simple little tool for quickly converting RGB or 6-digit hex values to their closest 3-digit shorthand. It also comes with a little color picker if you just want to quickly grab a color.

Made for fun, and a love of tinkering. Would love any ideas for improvement!

Comments (4)

Leftium · 3h ago
I wish the Open Props color helper[1] output results more like your tool:

- Shows both original vs matched colors

- Shows hex/rgb values

- Easy copy/paste via button

Some ideas you may be able to steal from the color helper:

- The "Quick pick" button is very handy

- Also there are two color matching algorithms. The LAB color matching is supposedly optimized for human perception.

And perhaps support for OKLCH colors? https://oklch.com/

[1]: https://props-color-finder.netlify.app/

dduplex · 1h ago
Thank you so much for the comment. I have never heard of OKLCH before. I've been trying to think of another color project to work on, and I think I might explore in this direction. Again, thanks!
sim7c00 · 9h ago
cool! its odly satisfying to drag the colour side to side and watch the color resolution flicker from matching to mismatches in bands as it passes colours representable in the 3digit form
axelMI · 5h ago
cute :)