I have an SVG that has a ton of paths in it with various colors.
I'd like to loop through all the paths and apply a brightness adjustment on the fill color.
If I could convert the Hex to HSL, then I could tween the brightness separately. Obviously I can write a function to handle this, but it poses the question, is there something already available via TweenMax to do this?
Side note, it would be really cool if there was something like this for colors:
TweenMax.to(myObject,.5,{lightness:50});
Behind the scenes, Greensock would break the current color into HSL. Tween the lightness. then recombine it back.