# Generate Random Background Color

**URL:** <https://forum.kirupa.com/t/generate-random-background-color/258413>\
**Category:** flash\
**Created:** [April 23, 2008, 7:38pm UTC](https://forum.kirupa.com/t/generate-random-background-color/258413 "2008-04-23T19:38:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkucinskas](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jkucinskas](https://forum.kirupa.com/u/jkucinskas)\
**Post date:** [April 23, 2008, 7:38pm UTC](https://forum.kirupa.com/t/generate-random-background-color/258413/1 "2008-04-23T19:38:34Z")

</div>

Hi I am trying to create a game where the background randomly fades from one color to the next. Would anyone know how to code this in actionscript 3? I am pretty clueless even as to where to start. Any help would be greatly appreciated!

Thanks!
