Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Mini Hex – Convert 6-digit colors into their closest 3-digit equivalent (dannyduplex.com)
3 points by dduplex 48 days ago | hide | past | favorite | 4 comments
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!




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/


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!


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


cute :)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: