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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Colorjoe - A Scaleable Color Picker (No Images)

85 点作者 luzon19将近 13 年前

12 条评论

randomdrake将近 13 年前
Very nicely done. I attempted something like this a while ago but it didn't come out quite as nice.<p>I like that you decided to use some base64-packed images instead of using anything external; good idea.<p>You may want to include something about what browsers are supported. As it is, the page is completely broken and not usable with IE9 (1).<p>Nice work, though!<p>[1] - <a href="http://i.imgur.com/d7JFq.png" rel="nofollow">http://i.imgur.com/d7JFq.png</a>
评论 #4203871 未加载
评论 #4203604 未加载
评论 #4214453 未加载
评论 #4204462 未加载
pbreit将近 13 年前
How did color pickers like this become so popular in non-pro situations? They are completely impossible to use for mere mortals (for example, try and pick the same color twice).
评论 #4205388 未加载
Smudge将近 13 年前
Ah, I see, by "scaleable" you mean that it can literally be scaled to different sizes on the page. (For HN, an uncommon use of that word.)
评论 #4204454 未加载
crazygringo将近 13 年前
Wow, very clever usage of overlapping semi-transparent gradients to get the square of saturation and brightness variations. Good job!<p>Too bad it isn't possible to draw color wheels in pure CSS, AFAIK...
评论 #4203673 未加载
quarterto将近 13 年前
Very clever. Unfortunately, the rounded corners aren't being drawn right here (Firefox 15a2 on Linux), there's blobs of colour being drawn.
BillSaysThis将近 13 年前
Would be nice if there was an affordance for transparent, this is a common problem for JS color pickers I've seen recently.
评论 #4206786 未加载
rizumu将近 13 年前
It would be great if github used a color picker, instead of requiring manual hex input, for the issues label color picker.
dpham将近 13 年前
i'm sure other people have mentioned but it doesn't work in IE9 or below. You should at the very lease support IE9. If you wanna throw away IE8 or below, it would make sense to just use canvas rather than a base64-encoded image.
sakai将近 13 年前
Nice, was just looking for something like this. Thanks!
kangax将近 13 年前
Looks nice. Are you planning to support IE&#60;9?
评论 #4206629 未加载
nextstep将近 13 年前
Wow, this works very well on Mobile Safari.
makepanic将近 13 年前
using opera 12 on win7 the cursor position isn't matching the color picker circle :(