# Background Colour Change

**URL:** <https://forum.kirupa.com/t/background-colour-change/159296>\
**Category:** Uncategorized\
**Created:** [August 16, 2005, 3:22pm UTC](https://forum.kirupa.com/t/background-colour-change/159296 "2005-08-16T15:22:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewwy](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Lewwy](https://forum.kirupa.com/u/Lewwy)\
**Post date:** [August 16, 2005, 3:22pm UTC](https://forum.kirupa.com/t/background-colour-change/159296/1 "2005-08-16T15:22:35Z")

</div>

Hello.  
I was wondering if it was possible for me to change the colour of my background \*\*gradually \*\*using [color=red]setTransform()[/color][color=black]? I dont know how to use it yet. But im guessing its something along the lines of…[/color]

```auto
var myVar:Color = new Color(myMC);
myVar.setTransform(Insert loads of rr, rg, rb stuff in here..);

```

But I want to do it gradually…

From what I remember, [color=red]setTransform()[/color][color=black] is only a tint. Should I really be using [color=red]setRGB()[/color]? [/color]  
[color=black][/color]  
Thanks for ANY help 🙂 .

An example of what I want can be found here : [www.deathjr.com](http://www.deathjr.com) (SKip the intro, on the main site, then click ‘Characters’, choose any of them and watch the background colour change.
