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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Tailwind color palette generator

497 点作者 wallawe超过 1 年前

22 条评论

darekkay超过 1 年前
I would love to see such tools have some accessibility DX built-in. The idea is to define the color palette in such a way that we know whether a color combination is accessible just by looking at the color name. For example, using the USWDS design system, I know that blue-30 on gray-80 is accessible (WCAG AA), because the difference between both values is 50+.<p>I once wrote a blog post about this (niche) concept: <a href="https:&#x2F;&#x2F;darekkay.com&#x2F;blog&#x2F;accessible-color-palette&#x2F;" rel="nofollow">https:&#x2F;&#x2F;darekkay.com&#x2F;blog&#x2F;accessible-color-palette&#x2F;</a>
评论 #39231864 未加载
评论 #39233318 未加载
评论 #39235727 未加载
评论 #39234965 未加载
评论 #39236425 未加载
Brajeshwar超过 1 年前
I love playing with color. This is another nice tool. Here are few other good alternatives&#x2F;otpions;<p>- <a href="https:&#x2F;&#x2F;adevade.github.io&#x2F;color-scheme-generator&#x2F;" rel="nofollow">https:&#x2F;&#x2F;adevade.github.io&#x2F;color-scheme-generator&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;colorcolor.in" rel="nofollow">https:&#x2F;&#x2F;colorcolor.in</a> (do not generate tailwind directly but a well done one)<p>- <a href="http:&#x2F;&#x2F;colormind.io" rel="nofollow">http:&#x2F;&#x2F;colormind.io</a><p>- <a href="https:&#x2F;&#x2F;uicolors.app&#x2F;create" rel="nofollow">https:&#x2F;&#x2F;uicolors.app&#x2F;create</a>
评论 #39228187 未加载
评论 #39233402 未加载
评论 #39228202 未加载
评论 #39231787 未加载
评论 #39230397 未加载
评论 #39228496 未加载
评论 #39229146 未加载
评论 #39229294 未加载
评论 #39228272 未加载
评论 #39232246 未加载
davetron5000超过 1 年前
I built one recently. Much simpler and more opinionated, but can generate a Tailwind configuration: <a href="https:&#x2F;&#x2F;ghola.dev" rel="nofollow">https:&#x2F;&#x2F;ghola.dev</a> (desktop&#x2F;ipad is best)<p>Long read on how it was built with web components: <a href="https:&#x2F;&#x2F;www.naildrivin5.com&#x2F;blog&#x2F;2024&#x2F;01&#x2F;24&#x2F;web-components-in-earnest.html" rel="nofollow">https:&#x2F;&#x2F;www.naildrivin5.com&#x2F;blog&#x2F;2024&#x2F;01&#x2F;24&#x2F;web-components-i...</a>
评论 #39232568 未加载
hoistbypetard超过 1 年前
This is great. I just did a better job generating a palette in under a minute, starting from a logo, than I did manually in 30 minutes last time I needed to do it. Nice work!
评论 #39228868 未加载
ptsd_dalmatian超过 1 年前
Love it. Thanks so much to the author for making this. I wonder what&#x27;s the easiest way how to sync these colors with Figma. Perhaps pro designers use some plugin for generating this kind of colors and exporting them to Tailwind?
评论 #39228513 未加载
评论 #39228883 未加载
评论 #39228070 未加载
评论 #39228196 未加载
wildrhythms超过 1 年前
This is a nice tool. As another approach that I use in my codebases is I define the color palette with CSS variables, so my Tailwind config just points to those. Then at runtime I can plug in different color themes.
评论 #39228834 未加载
simplify超过 1 年前
Great tool, very useful. I use it to generate a color palette from a single color, then take its output and feed it into <a href="https:&#x2F;&#x2F;palettte.app" rel="nofollow">https:&#x2F;&#x2F;palettte.app</a> to manually adjust each one.
TIPSIO超过 1 年前
For the &quot;brand&quot; example demo&#x27;d, is that what people tend to do for configs?<p>I thought people would simply just modify the default colors or create new variables like primary, secondary, etc..
评论 #39228861 未加载
babuskov超过 1 年前
Looks useful for gradients. Strange that nobody mentions Paletton. It&#x27;s my go to tool when picking colors:<p><a href="https:&#x2F;&#x2F;paletton.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paletton.com&#x2F;</a><p>You start with the base, and then also get gradients to adjacent colors in the palette. Especially the triad and tetrad ones are useful.
评论 #39232261 未加载
mikojan超过 1 年前
I took me forever to find out how to apply hue shift even though I was actively looking for it.
city17超过 1 年前
Nice idea. Would be even better if you could manually adjust several of the values and it would adjust the missing ones in between. Now you can only base it on one single starting color.
评论 #39228873 未加载
Kalanos超过 1 年前
can&#x27;t figure out how to search colors within 5 sec. im out.<p>i like <a href="https:&#x2F;&#x2F;www.color-hex.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.color-hex.com&#x2F;</a>
b2bsaas00超过 1 年前
I am a full stack dev and I do not know nothing about colors but I use tailwind css. Where could I study how to choose colors and better use this tool?
评论 #39232260 未加载
hosteur超过 1 年前
Nice. Is there something similar for bootstrap?
评论 #39228269 未加载
aantix超过 1 年前
What would be a good way to choose a color palette for a gradient background?
dbbk超过 1 年前
How come the oklch colors aren&#x27;t saturated like p3?
mska超过 1 年前
Nice!<p>I have a color tool I&#x27;m building too: <a href="https:&#x2F;&#x2F;divmagic.com&#x2F;tools&#x2F;color-converter" rel="nofollow">https:&#x2F;&#x2F;divmagic.com&#x2F;tools&#x2F;color-converter</a>
评论 #39232322 未加载
lovegrenoble超过 1 年前
I use this one: <a href="https:&#x2F;&#x2F;color.adobe.com&#x2F;fr&#x2F;create&#x2F;color-wheel&#x2F;" rel="nofollow">https:&#x2F;&#x2F;color.adobe.com&#x2F;fr&#x2F;create&#x2F;color-wheel&#x2F;</a>
评论 #39232318 未加载
omneity超过 1 年前
This is amazing. Until now I used <a href="https:&#x2F;&#x2F;colorbox.io" rel="nofollow">https:&#x2F;&#x2F;colorbox.io</a> which first originated at Lyft before becoming an independent project.
评论 #39232307 未加载
bartwe超过 1 年前
could use oklab color space support
dkrajzew超过 1 年前
Mine is a MS WIndows application with variable export functionality: <a href="https:&#x2F;&#x2F;palettewb.com" rel="nofollow">https:&#x2F;&#x2F;palettewb.com</a>
评论 #39232293 未加载
lovegrenoble超过 1 年前
IT WAS A NICE PLAY