# Color transform / uint

**URL:** <https://forum.kirupa.com/t/color-transform-uint/300729>\
**Category:** Uncategorized\
**Created:** [November 26, 2009, 7:34am UTC](https://forum.kirupa.com/t/color-transform-uint/300729 "2009-11-26T07:34:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [November 26, 2009, 7:34am UTC](https://forum.kirupa.com/t/color-transform-uint/300729/1 "2009-11-26T07:34:17Z")

</div>

is it possible to relate these two?

so that i can apply this to text as well to the movieclip.

```auto
var _myColor:ColorTransform = new ColorTransform();
_myColor.color = 0xffff00; 

myTxt.textColor = uint(myColor);//this doesnt work

var myTextColor:uint = 0xffff00;//i need to define one more var for text

```
