TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

481 点作者 pabue超过 3 年前
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 条评论

tbabb超过 3 年前
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 未加载
20after4超过 3 年前
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 未加载
rmetzler超过 3 年前
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 未加载
memco超过 3 年前
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 未加载
zadjii超过 3 年前
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 未加载
ipdashc超过 3 年前
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 未加载
djfdat超过 3 年前
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_experiment超过 3 年前
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
zokier超过 3 年前
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-tom超过 3 年前
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 未加载
wnolens超过 3 年前
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 未加载
coolhand1超过 3 年前
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 未加载
bckmn超过 3 年前
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.
penjelly超过 3 年前
&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 未加载
moultano超过 3 年前
Where do the color names come from? They&#x27;re delicious.
评论 #30363431 未加载
ChrisMarshallNY超过 3 年前
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.
kang超过 3 年前
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 未加载
dsmmcken超过 3 年前
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.
polyterative超过 3 年前
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>
madelyn超过 3 年前
Wow!!! This is awesome, I&#x27;ve wanted something like the mix tool for quite some time.<p>Thank you!
评论 #30362763 未加载
dinkleberg超过 3 年前
I love this, it’s super smooth! Definitely bookmarking this for later.
评论 #30363054 未加载
ricopags超过 3 年前
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 未加载
jonpalmisc超过 3 年前
Yup. This is my new favorite color tool website. Excellent work.
评论 #30366012 未加载
stoicjumbotron超过 3 年前
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_超过 3 年前
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 未加载
nivenhuh超过 3 年前
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 未加载
CyanBird超过 3 年前
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 未加载
sinelanguage超过 3 年前
Your UI is really beautiful. Well done!
评论 #30370945 未加载
asiachick超过 3 年前
I notice on the modify page, dragging the sliders, the color update lags. Is that intentional?
评论 #30371226 未加载
akselmo超过 3 年前
Thank you, this is super useful!
java-man超过 3 年前
Great tool! Does it account for gamma? Can the user enter a different gamma value?
评论 #30362884 未加载
评论 #30365239 未加载
diogenesjunior超过 3 年前
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 未加载
5ESS超过 3 年前
Could you add support for 10 or 12 bit colors?
评论 #30371142 未加载
pg_bot超过 3 年前
Where do the color names come from?
评论 #30363445 未加载
throway_99超过 3 年前
This is great