TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: hue.tools – open-source toolbox for colors

481 pointsby pabueover 3 years ago
hue.tools was created after spending way to much time trying to find the right tools when working with colors.<p>It&#x27;s an attempt to create a simple but useful toolbox for common color related tasks and problems.<p>While it&#x27;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.

35 comments

tbabbover 3 years ago
EDIT: Author has pointed out that the interpolation mode can be changed. Very slick!<p>It looks like this is interpolating in HCL or HSV space— that tends to produce unexpected results, including intermediate colors with unrelated hues (pink between orange and blue?), or sharp discontinuities if one of the endpoints changes slightly (try mixing orange and blue, and then shifting the blue towards teal until suddenly the intermediate pink pops to green).<p>This document[1] also illustrates pretty well.<p>Interpolating in RGB space has its own issues (more so if gamma is not handled correctly) due to the human visual system&#x27;s differing sensitivity to different colors— the result is often that two bright colors will have an intermediate color which is darker than either endpoint.<p>There&#x27;s a known solution, thankfully: Mix colors in a perceptual color space like Lab or Oklab[2]. The behavior is very predictable and aesthetically pleasing.<p>[1] <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;@zanarmstrong&#x2F;comparing-interpolating-in-different-color-spaces" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;@zanarmstrong&#x2F;comparing-interpolati...</a> [2] <a href="https:&#x2F;&#x2F;bottosson.github.io&#x2F;posts&#x2F;oklab&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bottosson.github.io&#x2F;posts&#x2F;oklab&#x2F;</a>
评论 #30363939 未加载
评论 #30368241 未加载
20after4over 3 years ago
Over the years I&#x27;ve seen many similar tools, however, this one is probably the nicest, simple and straightforward. Really great work!
评论 #30363896 未加载
评论 #30363296 未加载
评论 #30366098 未加载
rmetzlerover 3 years ago
I like it, however I wish the colors wouldn’t change constantly when I click between tools. I would like to explore the possibilities I would have with one or two colors.
评论 #30363511 未加载
memcoover 3 years ago
The UI seems responsive and produces nice looking results. However I found the usefulness of blending and mixing hampered by the fact that fine grained control of the saturation, luminance, etc. are only available in the modify tab. It would be more useful to me if I could modify those on any color I’m working with in the other tabs.<p>An idea for improvement would be to add a palette feature that you can see and modify on all tabs so you can create and modify a set of colors without having to copy them somewhere else before moving on to the next piece of a design.
评论 #30363677 未加载
zadjiiover 3 years ago
This is really pleasant to use. For years I&#x27;ve used <a href="https:&#x2F;&#x2F;paletton.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paletton.com&#x2F;</a> to similar effect, but I actually like the interface here a lot better. It&#x27;s a bit simpler, and more straightforward. Great work!
评论 #30363350 未加载
评论 #30362833 未加载
ipdashcover 3 years ago
It&#x27;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.
评论 #30371188 未加载
djfdatover 3 years ago
Hey, this is a really great tool, thanks for making and sharing with us!<p>One thing that I think would help is for the tool to not lose state when changing between tabs. You have the manual randomize color button, so it doesn&#x27;t make sense to randomize on tab switch.<p>Then, in addition, sending colors from one tab to another. For example, I want to modify a color, and then send it to Mix Swatch 1.<p>Also, like everyone else, I love the color names! I&#x27;d love to see these applied to more swatches, like in the step names in Mix, or the color combinations in Info. Maybe it could show the names, and then flip to the hex value on hover.<p>Also, I would love if I could save off my settings in different tabs. I know I could just bookmark, but having an in-app method of saving&#x2F;restoring would be wonderful.<p>Again, thanks for this! I am definitely adding this to my color toolset!
评论 #30365050 未加载
thot_experimentover 3 years ago
Nice work! I&#x27;m glad you support color spaces outside of RGB for blending. I&#x27;ve been working on designing some new color blending modes&#x2F;spaces and I&#x27;m excited to see more anthropocentric math being used to generate colors in general.<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;thot_exper1ment&#x2F;status&#x2F;1490386779848904707" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;thot_exper1ment&#x2F;status&#x2F;14903867798489047...</a> &lt;-- example of some blending in a color space i&#x27;m working on
zokierover 3 years ago
In modify there are &quot;brighten&quot;, &quot;tint&quot;, and &quot;lighten&quot;, and for uninitiated like me the difference seems pretty vague. I suppose they refer to some similar operations in different colorspaces, but the tool could be more intuitive here.<p>The nerd in me would wish that the tool would use primarily some top-tier colorspace like oklab, but I can understand why you didn&#x27;t want to go down in that rabbithole.
评论 #30363615 未加载
just-tomover 3 years ago
Is it possible to know about a certain color if it&#x27;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&#x27;d expect to get some value below or above 0.5.
评论 #30371641 未加载
评论 #30371751 未加载
评论 #30371585 未加载
wnolensover 3 years ago
I really enjoyed adjusting the different knobs in &#x27;Modify&#x27; mode to achieve something that &#x27;felt&#x27; good to me. I don&#x27;t know anything about color (as represented by computers or otherwise) but it was fun.<p>I also love the names that come up (&quot;pig pink&quot; v.s. &quot;strawberry milk&quot;)
评论 #30363130 未加载
coolhand1over 3 years ago
This. is. awesome. Thanks for sharing! I manage a lot of designs and guidelines for Open Source projects and the amount of time I spend translating color information into different values to make sure everything is &quot;on brand&quot; is ridiculous. This is going to save me ton of time
评论 #30370980 未加载
bckmnover 3 years ago
I’ve run <a href="https:&#x2F;&#x2F;www.thecolorapi.com" rel="nofollow">https:&#x2F;&#x2F;www.thecolorapi.com</a> for years that offers similar color introspection via JSON API ergonomics.
penjellyover 3 years ago
&gt; It&#x27;s an attempt to create a simple but useful toolbox for common color related tasks and problems<p>this is better then the previous tool i was using as a toolbox. thanks for the work
评论 #30363485 未加载
moultanoover 3 years ago
Where do the color names come from? They&#x27;re delicious.
评论 #30363431 未加载
ChrisMarshallNYover 3 years ago
This is quite nice.<p>I haven&#x27;t had time to play with it much, so far, but, as it so happens, I have been working on color themes for my app, lately, using tools like this.
kangover 3 years ago
Minor bug: backspacing. Eg, edit some value, type &quot;1&quot;, now backspace changes text to &quot;NaN&quot; instead of expected &quot;&quot;. To make it a bit worse, users can&#x27;t even do &quot;01&quot;, now backspace changes to &quot;&quot; instead of expected &quot;0&quot;. Both should be fixed imo.
评论 #30365071 未加载
dsmmckenover 3 years ago
Minor gripe: double clicking a hex color selects just the value and not the hash, which is good for text entry, but annoying when pasting a previously copied hex colour and you get ##ABCDEF. Might be nice to remove the duplicate ## or something.
polyterativeover 3 years ago
Looks really good. I would love to be able to generate HCL palettes like <a href="https:&#x2F;&#x2F;medialab.github.io&#x2F;iwanthue&#x2F;" rel="nofollow">https:&#x2F;&#x2F;medialab.github.io&#x2F;iwanthue&#x2F;</a>
madelynover 3 years ago
Wow!!! This is awesome, I&#x27;ve wanted something like the mix tool for quite some time.<p>Thank you!
评论 #30362763 未加载
dinklebergover 3 years ago
I love this, it’s super smooth! Definitely bookmarking this for later.
评论 #30363054 未加载
ricopagsover 3 years ago
I love this tool, especially that it&#x27;s built with SvelteKit. Thanks for sharing it!<p>One thing I&#x27;m curious about that I couldn&#x27;t discern from the GH repo: what&#x27;s the license?
评论 #30371204 未加载
jonpalmiscover 3 years ago
Yup. This is my new favorite color tool website. Excellent work.
评论 #30366012 未加载
stoicjumbotronover 3 years ago
Really loved the UI. Did you first create a prototyping with Figma or some other tool or just slowly iterated during your development till you were satisfied?
评论 #30370974 未加载
emmanueloga_over 3 years ago
nice 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
评论 #30371212 未加载
nivenhuhover 3 years ago
Very functional and straight forward to use tool!<p>Sure, there are a few enhancements that can be made (state management), but this is a great starting point. Nice job!
评论 #30371890 未加载
CyanBirdover 3 years ago
If this could be added as a Photoshop plug in, I as an artist would not think twice of forking some cash to get it, mark it as business expense
评论 #30371174 未加载
sinelanguageover 3 years ago
Your UI is really beautiful. Well done!
评论 #30370945 未加载
asiachickover 3 years ago
I notice on the modify page, dragging the sliders, the color update lags. Is that intentional?
评论 #30371226 未加载
akselmoover 3 years ago
Thank you, this is super useful!
java-manover 3 years ago
Great tool! Does it account for gamma? Can the user enter a different gamma value?
评论 #30362884 未加载
评论 #30365239 未加载
diogenesjuniorover 3 years ago
just by looking at the homepage, i see nothing helpful. what does the website do? no idea. i&#x27;d suggest being more descriptive on the home page
评论 #30366074 未加载
5ESSover 3 years ago
Could you add support for 10 or 12 bit colors?
评论 #30371142 未加载
pg_botover 3 years ago
Where do the color names come from?
评论 #30363445 未加载
throway_99over 3 years ago
This is great