# Tweenmax and hexcolor tweening

**URL:** <https://forum.kirupa.com/t/tweenmax-and-hexcolor-tweening/291804>\
**Category:** Uncategorized\
**Created:** [July 6, 2009, 6:56am UTC](https://forum.kirupa.com/t/tweenmax-and-hexcolor-tweening/291804 "2009-07-06T06:56:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vxd](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vxd](https://forum.kirupa.com/u/vxd)\
**Post date:** [July 6, 2009, 6:56am UTC](https://forum.kirupa.com/t/tweenmax-and-hexcolor-tweening/291804/1 "2009-07-06T06:56:28Z")

</div>

Hi,  
I’m trying to tween a shape’s colour. I’m using tweenmax but it doesn’t seem to work.

The colour is originally orange.  
[LEFT]

```auto

TweenMax.[COLOR=#000080]to[/COLOR][COLOR=#000000]([/COLOR]bgColourMC, [COLOR=#000080]2[/COLOR], [COLOR=#000000]{[/COLOR]hexColors:[COLOR=#000000]{[/COLOR][COLOR=#FF0000]"what goes here"[/COLOR]:0x000000[COLOR=#000000]}[/COLOR][COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];

```

[/LEFT]

When I test the movie the bg stays orange.

Thanks  
vxd
