This method converts color values from hue-saturation-lightness (HSL) to it's red-green-blue representation.
Check out the demo!
Special thanks to tsaniel, Alex Kloss, subzey, Jed Schmidt, and maettig for there unbelievable magic and effort!
See the 140byt.es site for a showcase of entries (built itself using 140-byte entries!), and follow @140bytes on Twitter.
To learn about byte-saving hacks for your own code, or to contribute what you've learned, head to the wiki.
140byt.es is brought to you by Jed Schmidt, with help from Alex Kloss. It was inspired by work from Thomas Fuchs and Dustin Diaz.
@maettig: Nice to see some fresh ideas over here! Sometimes it's worth to step back and golf the hole again with a new golf club.
@jed: What do you think: Should I update this gist and add @meattig to the list of
contributors
in package.json or is it better for him to fork the original 140bytes gist?