zColor 0.1

I’ve been messing around with some old JavaScript code I found recently. The basic idea was to create a way to convert colors from RGB to HSL and back again in order to create color effects like gradients using JavaScript. HSL is better suited to many color manipulations, but it’s not supported by CSS. So, I started dabbling around with color conversion algorithms until I got it close enough to the results of graphic programs. I cleaned up the code a bit and threw in some more functionality. The result, zColor, is now available on the Downloads page. I haven’t had the time to type up documentation, but the code comments and example are pretty self-explanatory. I’ve labeled this version 0.1, since it’s definitely a work in progress, but feel free to play around with it and use it if you find it useful.

Understanding JavaScript Promises E-book Cover

Demystify JavaScript promises with the e-book that explains not just concepts, but also real-world uses of promises.

Download the Free E-book!

The community edition of Understanding JavaScript Promises is a free download that arrives in minutes.