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.

Please.js – Random Pleasing Colors

120 pointsby alixaxelalmost 11 years ago

16 comments

dictumalmost 11 years ago
This is highly subjective, but to me, it&#x27;s biased to output colors that are more <i>web-safe palette meets pastel colors</i> than <i>pleasing</i>.
评论 #8028320 未加载
评论 #8028626 未加载
bunkatalmost 11 years ago
Every time I come across one of these color generators it just reminds how much a good designer is worth. Putting together a pleasing color palette with the appropriate amount of contrast, interest, and color quality is really hard to do. I always laugh when our designer updates color values to ones that may look identical to me, but as soon as they are implemented and play off the other colors in the design (including the white space) everything just instantly feels more polished.
sgibatalmost 11 years ago
Very similar to randomColor.js: <a href="http://llllll.li/randomColor/" rel="nofollow">http:&#x2F;&#x2F;llllll.li&#x2F;randomColor&#x2F;</a><p>Definitely need a contrast mode. I&#x27;ve been thinking about forking randomColor.js for the last week to implement that feature actually..
评论 #8033405 未加载
roganartualmost 11 years ago
As a colourblind person who struggles with coming up with good looking colour schemes, this looks really nice.<p>I&#x27;ve used the likes of Palleton [1] and Kubler [2] before but they seem to be geared towards graphic designers and people who actually understand terms like adjacent, triad and compliment in the context of colours.<p>[1] <a href="http://www.paletton.com/" rel="nofollow">http:&#x2F;&#x2F;www.paletton.com&#x2F;</a><p>[2] <a href="https://kuler.adobe.com/create/color-wheel" rel="nofollow">https:&#x2F;&#x2F;kuler.adobe.com&#x2F;create&#x2F;color-wheel</a>
owenversteegalmost 11 years ago
This is MIT licensed [0] but the author should probably note that on the website page or in a LICENSE file.<p>[0] <a href="https://github.com/Fooidge/PleaseJS/blob/master/bower.json" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Fooidge&#x2F;PleaseJS&#x2F;blob&#x2F;master&#x2F;bower.json</a>
kmfrkalmost 11 years ago
In the case where you retrieve multiple random colours, is there a chance you could add a setting that doesn&#x27;t return colours that are too close to each other?
评论 #8028734 未加载
wlievensalmost 11 years ago
Does it have an API for generating contrasting colors? For instance for a chart, you&#x27;d like to generate a set of colors that are all not too alike each other.
hackdaysalmost 11 years ago
Pretty cool. I added it to add some colors to our website: <a href="http://referralhire.com" rel="nofollow">http:&#x2F;&#x2F;referralhire.com</a> Thanks!<p>Its getting obvious to me now, if a good designer suggests color add them else shutup and keep it white or black :)
JordanCheckmanalmost 11 years ago
Hey guys, I&#x27;m the guy that wrote this. Colorblind mode and contrast are common suggestions and I&#x27;m totally working on adding them in. In the meantime, thanks for all the feedback and enjoy using Please.
评论 #8028368 未加载
__david__almost 11 years ago
I made a jsfiddle for playing around with the API: <a href="http://jsfiddle.net/MsXrp/1/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;MsXrp&#x2F;1&#x2F;</a><p>I&#x27;m quite happy with what I see so far.
argcalmost 11 years ago
I like the colors it generated for me very much... But it should also have the ability to generate ugly colors. It&#x27;s just not fair to favor the pleasing colors so heavily.
sahooalmost 11 years ago
<a href="https://news.ycombinator.com/item?id=7824684" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7824684</a>
elwellalmost 11 years ago
Now hook this up to your A&#x2F;B test variations on a few components...
mcot2almost 11 years ago
It would be nice if this could output colors for something like a heatmap.
评论 #8028311 未加载
panzialmost 11 years ago
Someone make a bookmarklet to fix unpleasing web sites using this.
swalshalmost 11 years ago
Somewhat unrelated, but i&#x27;d like an API similar to this... but the colors would contrast well for someone who is color blind.
评论 #8028132 未加载
评论 #8028098 未加载