I would like to get the color range of the specific color for generating tag cloud.
Say that user has entered some color with RGB/HHHHHH values then I woul
RGB/HHHHHH
You want to operate on saturation and value, convert rgb to hsv first and then it is very easy.
Code: http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript
Info: http://en.wikipedia.org/wiki/HSL_and_HSV