It's been said several times already but I really love the names. They add so much flavor to it and, surprisingly enough, really seem to get my imagination going, haha.
Show HN: hue.tools – open-source toolbox for colors
71–80 of 82 posts
Re: Show HN: hue.tools – open-source toolbox for colors
#72I love this tool, especially that it's built with SvelteKit. Thanks for sharing it! One thing I'm curious about that I couldn't discern from the GH repo: what's the license?
Re: Show HN: hue.tools – open-source toolbox for colors
#73nice project! Suggestion: for the blending tool, you could show a grid of every blending mode at once instead of needing to pick the blending mode one by one
Re: Show HN: hue.tools – open-source toolbox for colors
#74I notice on the modify page, dragging the sliders, the color update lags. Is that intentional?
Re: Show HN: hue.tools – open-source toolbox for colors
#75Is it possible to know about a certain color if it's dark or light? My goal is to automatically determine whether to put a white or black text on top of a background colored box based on the answer. Is it has something to do with the temperature? I'd expect to get some value below or above 0.5.
Re: Show HN: hue.tools – open-source toolbox for colors
#76Is it possible to know about a certain color if it's dark or light? My goal is to automatically determine whether to put a white or black text on top of a background colored box based on the answer. Is it has something to do with the temperature? I'd expect to get some value below or above 0.5.
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...
Re: Show HN: hue.tools – open-source toolbox for colors
#77Is it possible to know about a certain color if it's dark or light? My goal is to automatically determine whether to put a white or black text on top of a background colored box based on the answer. Is it has something to do with the temperature? I'd expect to get some value below or above 0.5.
Re: Show HN: hue.tools – open-source toolbox for colors
#78Re: Show HN: hue.tools – open-source toolbox for colors
#79Earlier quoted context omitted.
First of all thanks for the comments and info. I'm actually not doing the color interpolation myself. I'm using chroma.js[1] for the most part. You can actually change the interpolation mode on the bottom below the color boxes. The default is LCH because I think it looks the best most of the time, but you can use LAB if you prefer that. [1] https://gka.github.io/chroma.js/
Aha! That was a bonehead miss on my part. Very nice, and very slick interface. :)
Re: Show HN: hue.tools – open-source toolbox for colors
#80Very functional and straight forward to use tool! Sure, there are a few enhancements that can be made (state management), but this is a great starting point. Nice job!