News for hackers. Stuff that matters.
Re:0to255 by atomon on Monday April 12, 2010 @12:35PM (#1259592)
I'm surprised that people don't seem to like this as much as I do. Yes, a designer is obviously going to use a more powerful tool, but that doesn't really say anything about how useful this is. I'm constantly writing small web apps and I have absolutely no design sense whatsoever. Having a really simple, elegant tool that lets me randomly choose a color and view a few shades lighter or darker is a huge help. It's got a nice, simple UI and does one thing very well. I'll definitely be using it.

And for those of you linking to other tools, they all either a) have a poor UI or b) do too much. That's not to say that they don't have their place, but they just don't do the same thing as this.

Re:0to255 by kulkarnic on Monday April 12, 2010 @01:10PM (#1259711)
I agree it's a useful tool. However, I'm usually choosing a bunch of colors, and it helps if you're seeing the colors in context.

What I'd really love is a color-dropper plugin that lets me choose a random color on a webpage, and change every pixel of that color to a different one specified by me.

SASS does something close with its CSS variables, but it lacks the real-time interaction.

Sorry this is so off-topic, this seemed so close...

Re:0to255 by schapman623 on Monday April 12, 2010 @02:45PM (#1259970)
My thoughts exactly. Thanks for the good feedback :)
Re:0to255 by ZeroGravitas on Monday April 12, 2010 @11:07AM (#1259281)
Okay, I'm intrigued. What can this possibly be doing that requires so many individual Flash items?
Re:0to255 by pistoriusp on Monday April 12, 2010 @11:10AM (#1259293)
It's to enable click-to-copy (to the clipboard.)
Re:0to255 by edd on Monday April 12, 2010 @12:01PM (#1259451)
A slightly better implementation would have been to have a JavaScript click event on every colour and then use a JavaScript to Flash function to do the copy to clipboard. Then only one Flash file would have had to be loaded.
Re:0to255 by slig on Monday April 12, 2010 @12:07PM (#1259477)
AFAIK, it wouldn't work. Flash can only copy to the clipboard after an event like click, doubleclick, etc, within the swf.
Re:0to255 by weaksauce on Monday April 12, 2010 @12:15PM (#1259505)
He is saying that when you click on the color it sends a message to the flash object as to which color they are interested in and then the popup will be eligible to click on which will then copy to the clipboard.
Re:0to255 by schapman623 on Monday April 12, 2010 @02:44PM (#1259963)
Because Flash objects are positioned above every other element on the page, I'd have to guess which color is below the large, single Flash object. I tried doing this with variable levels of success, but concluded that having a Flash object for every color didn't have any huge downside. Performance seems to be acceptable, unless you're using IE. Let me know if you have any performance issues.
Re:0to255 by godDLL on Tuesday April 13, 2010 @07:12AM (#1261597)
The page takes a couple of seconds to refresh on a 2007 Mac Mini.

Take a look here, this piece of code provides `copy("text");` in JavaScript, and uses only one SWF (I think). sites.google.com/site/yangshuai10/jquerycopyplugin

Re:0to255 by invisible on Tuesday April 13, 2010 @09:49AM (#1261933)
Re:0to255 by RyanMcGreal on Monday April 12, 2010 @11:26AM (#1259330)
I'm not going to pretend that HTML5+Javascript can easily replication Flash functionality, but I'm pretty sure it can handle copy-to-clipboard.

Edit forehead slap. The last time I had to write a script to copy to clipboard was several years ago and I was targeting the script for IE on a company intranet. I stand humbly (and foolishly) corrected.

Re:0to255 by piranha on Monday April 12, 2010 @11:46AM (#1259398)
It can't as long as I know. :(
Re:0to255 by kylebragger on Monday April 12, 2010 @11:36AM (#1259367)
Hm, that would be great — I'd love to see an example of this.
Re:0to255 by warfangle on Monday April 12, 2010 @11:47AM (#1259405)
Typically you'll get a selection object, get the range object, and .execCommand("Copy") on it. Unfortunately it only really works in IE (afaik); it used to work in FF if you got the Allow Clipboard Access plugin, but even that's been disabled.

It could potentially be a huge security risk, which is why it's had to be sandboxed into plugins like flash.

Re:0to255 by zmmmmm on Monday April 12, 2010 @12:43PM (#1259622)
>It could potentially be a huge security risk,

Why is copying data into the clipboard a security risk?

> which is why it's had to be sandboxed into plugins like flash.

But it's already in a sandbox (the browser). Why do we need a sandbox inside the sandbox?

I really don't understand what the huge deal is with this. It's almost harder to get some plain text onto the clipboard than it is to get the user to run a .exe.

Re:0to255 by lenni on Monday April 12, 2010 @12:41PM (#1259613)
I like the fact that many people on HN seem to be running ClickToFlash.
Re:0to255 by ZeroGravitas on Monday April 12, 2010 @04:14PM (#1260226)
Gnash actually, and even then only because Firefox nagged me every time I visited a site with Flash. otherwise I'd have gone without. Luckily Gnash has ClickToFlash-like capabilities built in.
Re:0to255 by SlyShy on Monday April 12, 2010 @10:58AM (#1259253)
Nice tool, although the way the colors are displayed can distort perception. Always remember to test and pick colors in context. If you are using a white background, don't pick colors in a black app, and vice versa.
Re:0to255 by nopassrecover on Monday April 12, 2010 @11:25AM (#1259327)
How is this a problem here? As I see it the app uses both white and black backgrounds to help avoid this problem.
Re:0to255 by SlyShy on Monday April 12, 2010 @12:32PM (#1259575)
Displaying them all in a column like that emphasizes the value variations. Which is the point, of course. It's just that there is a segment of the population that always acts shocked to discover that the three colors they picked look different put together, than they do alone.
Re:0to255 by remi on Monday April 12, 2010 @11:29AM (#1259340)
Eric Meyer's Color Blender has been doing this for years.

http://meyerweb.com/eric/tools/color-blend/

Re:0to255 by ableal on Monday April 12, 2010 @12:32PM (#1259572)
Thank you. Plus:

If you'd like to have the Color Blender for offline use, just view source and save

(actually, just saving the html page does it)

Re:0to255 by scorxn on Monday April 12, 2010 @11:05AM (#1259278)
Too much choice I think. "0to255 is a simple tool that helps web _designers_ find variations of any color." Designers already have offline tools to explore full color spectra.

Tools that turn color theory into recommendation algorithms are much more useful. Illustrator introduced a "Color Guide" palette for this and it's great. Would be even better as a free online tool. Doesn't necessarily need to be user-contributed like Kuler.

Re:0to255 by subbu on Monday April 12, 2010 @11:24AM (#1259324)
I am sure programmers will find this tool very useful. I had to show a pie chart of different categories of data with varying weights. So I had to use the same color for representing weight of the same category. The best resource I could fine for identifying variations of same color was http://www.december.com/html/spec/colorhslhex10.html. Though it gives variations for same color, the variations aren't sequential between the rows. So at any point I couldn't get more than 10 cascading variations of the same color. This tool solves that problem pretty well.
Re:0to255 by kylebragger on Monday April 12, 2010 @11:34AM (#1259359)
Agreed. As a developer often working on small side projects, it's super helpful to not have to launch photoshop to mess around with colors.
Re:0to255 by dhuck on Monday April 12, 2010 @11:24AM (#1259325)
Re:0to255 by cschneid on Monday April 12, 2010 @12:02PM (#1259458)
I don't think the app is meant to be a whole color scheme design tool, so much as a helper that solves the specific question: "What is one shade lighter of this color?". "How about two shades".
Re:0to255 by schapman623 on Monday April 12, 2010 @03:13PM (#1260042)
Exactly. I made 0to255 to solve the "I need a slightly lighter color" problem, which is actually a really frequent one. There are already really awesome tools for color inspiration like those on http://www.colourlovers.com/
Re:0to255 by pg on Monday April 12, 2010 @01:20PM (#1259753)
I wish "pick another color" put a second color to the right of the first instead of replacing it.
Re:0to255 by schapman623 on Monday April 12, 2010 @03:18PM (#1260057)
Hmm, that's a good idea. I'll play around with that.
Re:0to255 by Pistos2 on Monday April 12, 2010 @10:19PM (#1261007)
This is well done, though I was also befuddled at first by the spinners on hover.

See also:

http://www.colorschemegenerator.com/index-black.htm

http://colorschemedesigner.com/

http://www.degraeve.com/color-palette/ - Generate a palette from an image

Re:0to255 by watty on Monday April 12, 2010 @12:01PM (#1259452)
I just use ColorCop and drag the slider up and down to change luminosity.

That "ribbon" design is becoming popular... http://0to255.com/ http://blog.metalabdesign.com/ http://www.movenetworks.com/

Re:0to255 by callmeed on Monday April 12, 2010 @12:31PM (#1259570)
This is great. With CSS gradients, borders and text shadows, you can at least start some nice interfaces without any background images.
Re:0to255 by tripngroove on Monday April 12, 2010 @01:41PM (#1259813)
Here's a great one that converts between color modes, lets you step up or down mathematical increments by clicking, and gives you a full-window preview while you work. I use it all the time.

http://www.drpeterjones.com/colorcalc/

Re:0to255 by Keyframe on Monday April 12, 2010 @03:46PM (#1260146)
I just use http://kuler.adobe.com It's great!
Re:0to255 by nick-dap on Monday April 12, 2010 @03:54PM (#1260166)
I find http://www.colourlovers.com much better all around.

I've struggled with Kuler for a while. Its just too slow and cumbersome (try copy pasting to Photoshop and back). The reason is of course that its all in Flash. There is a built-in Kuler toolbox in Photoshop, but that's as slow and cumbersome as the site.

Re:0to255 by Keyframe on Monday April 12, 2010 @03:59PM (#1260187)
Seems nice, I'll try it out!
Re:0to255 by ph0rque on Monday April 12, 2010 @09:03PM (#1260895)
hmmmm.... unfortunately, #baddad is a nice color, while #fabdad isn't IMO.
Re:0to255 by bmelton on Monday April 12, 2010 @11:59AM (#1259443)
I don't usually try to make pointless posts, but this is a BEAUTIFUL application, and there is almost no aspect of it that I do not love, even if I will likely never use it.
Re:0to255 by gren on Monday April 12, 2010 @01:44PM (#1259825)
That's cool but useless when using Sass http://sass-lang.com/
Re:0to255 by JoeAltmaier on Tuesday April 13, 2010 @09:32AM (#1261892)
Any app that needs the back button to fish around, could be improved by NOT needing the back button.
Re:0to255 by mufumbo on Monday April 12, 2010 @12:57PM (#1259664)
my only suggestion is to be able to have my "saved colors" in the browser cookie. when i click it can add it to a fifo list :)
Re:0to255 by jacktang on Monday April 12, 2010 @12:51PM (#1259644)
it is not well supported in Chrome(debian)
Re:0to255 by schapman623 on Monday April 12, 2010 @03:27PM (#1260090)
Sorry about that. I'll be cleaning up browser compatibility in the next few days.