JavaScript color picker

I’m anxiously awaiting the implementation in Google Chrome for HTML5’s color chooser:

<input type="color" />

In the meantime, I found a nice little javascript color chooser at written by Jan Odvárko.

The usage is very simple: add the javascript and set the input’s class to “color”. I like this flat-style color chooser as opposed to a color wheel, because the relationship between colors is easier to see, in my opinion.

Anyway, it’s a wonderful script.