Show HN: hue.tools – open-source toolbox for colors (opens in a new tab)hue.tools
481 pointshue.tools was created after spending way to much time trying to find the right tools when working with colors.
It's an attempt to create a simple but useful toolbox for common color related tasks and problems.
While it's in no way perfect or provides the tools for every use case, it has served me well in the last few months and I hope it will be useful for some of you as well.
Comments (80) 36 threads
Earlier commentsThe nerd in me would wish that the tool would use primarily some top-tier colorspace like oklab, but I can understand why you didn't want to go down in that rabbithole.
I never heard of oklab before. Guess I have some reading to do. But I also wouldn't say no to a PR that adds support for it ;)
WCAG defines their own algorithm for calculating the contrast between two colours to ensure good accessibility [1][2]. Bootstrap v5 uses this [3].
[0] https://github.com/twbs/bootstrap/blob/v4.6.1/scss/_function...
[1] https://www.w3.org/WAI/GL/wiki/Relative_luminance
[2] https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
[3] https://github.com/twbs/bootstrap/blob/v5.1.3/scss/_function...
I also love the names that come up ("pig pink" v.s. "strawberry milk")
And the names are definitely awesome. All the credit for that goes to: https://github.com/meodai/color-names
Lots of kudos on the work you put in too! Your app is fun and super slick. Top notch design and frontend skills.
All comments shown.
Couldn't load more comments. Check your connection and try again.