Hello I'm currently working on a little script and I hope you guys can give me a little hand.
I basically like to convert this script http://chir.ag/tech/download/ ntc to mootools. I've an array of let's say 9 hex color codes - based on a user's color entry / color selection, I need to find the color in my array that matches the user's color the closest. I guess I could use Chirag's ntc function - however, I wanted to use mootools - unfortunately, mootools does not have a function to create hsl values - only hsb. would you know the formula to use in order to find the closest match based on rgb and hsb values - is there an easy way to convert hsb to hsl? Thank you in advance for your input
