# colorTransform - change color without losing highlights?

**URL:** <https://forum.kirupa.com/t/colortransform-change-color-without-losing-highlights/330996>\
**Category:** flash\
**Created:** [April 23, 2013, 4:11pm UTC](https://forum.kirupa.com/t/colortransform-change-color-without-losing-highlights/330996 "2013-04-23T16:11:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cakepizza](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Post date:** [April 23, 2013, 4:11pm UTC](https://forum.kirupa.com/t/colortransform-change-color-without-losing-highlights/330996/1 "2013-04-23T16:11:49Z")

</div>

I have an animation of some liquid and I want it to be able to dynamically change color to any color the user chooses. The liquid has white highlights in it like light is hitting it. If I play with the “adjust color” filter in the flash IDE I can set saturation to 100 and mess with the hue to create an effect where the color changes, but the highlights are maintained in my image.

I am currently doing this to make the clip change to a specific color, but it makes the color toally solid, loosing the highlights.  
TweenLite.to(liquid, time, {colorTransform:{redMultiplier:0, redOffset:redAmount,greenMultiplier:0, greenOffset:greenAmount,blueMultiplier:0, blueOffset:blueAmount}});

Is there any way to choose a specific color to colorize a clip where you maintian highlights, like the adjust color filter in the IDE can?

Thanks!
