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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: AI color palette generator for Tailwindcss

209 点作者 manceraio超过 4 年前

7 条评论

deltron3030超过 4 年前
These kind of palettes always struggle with brighter yellows like #ffe400 because of the necessary normalization across hues to make it a full palette in first place, which of course prevents some colors to fulfill their potential (which is often at their peak chromacity). No AI can solve this problem because it&#x27;s how colors work.<p>I think it&#x27;s best to keep the palette separate from the code (e.g. store palettes in an app like Sip), and not insist on the replaceability of colors across a range. E.g. instead of blue-500 use functional names like btn-color or brand-color and alias the colors that way in code.
评论 #24398024 未加载
评论 #24398301 未加载
zxcvbn4038超过 4 年前
This does pick some pleasing palettes but I’m not clear how they are utilized in the page. A quick scan of Tailwindscss docs shows a bit of discussion about naming colors and picking a primary and secondary color but I don’t see much discussion about the other colors in their palettes. Anyone explain?
评论 #24400668 未加载
rutierut超过 4 年前
This is a lovely app but it really <i>needs</i> to generate grays as well. You just can&#x27;t randomly drop in a color palette without changing the default TW grays. (they are pretty blue)
评论 #24398582 未加载
评论 #24398616 未加载
hackerman123469超过 4 年前
So what exactly is AI about it? It just looks like a common algorithm that matches colors together and not some AI that has been trained to find matching color palettes.
评论 #24397635 未加载
评论 #24397632 未加载
评论 #24397825 未加载
评论 #24397608 未加载
swyx超过 4 年前
i&#x27;ve added it to my list of color palette generation tools - sharing in case it helps someone else <a href="https:&#x2F;&#x2F;github.com&#x2F;sw-yx&#x2F;spark-joy&#x2F;blob&#x2F;master&#x2F;README.md#color-picking" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sw-yx&#x2F;spark-joy&#x2F;blob&#x2F;master&#x2F;README.md#col...</a>
评论 #24399700 未加载
评论 #24398830 未加载
RocketSyntax超过 4 年前
Why doesn&#x27;t the generated palette include the original color? Makes me lose faith.
评论 #24398903 未加载
jack_riminton超过 4 年前
This works really well, I&#x27;ll be using it on my upcoming projects :)