# Random color scheme in html and flash

**URL:** <https://forum.kirupa.com/t/random-color-scheme-in-html-and-flash/102815>\
**Category:** Uncategorized\
**Created:** [February 27, 2004, 8:58am UTC](https://forum.kirupa.com/t/random-color-scheme-in-html-and-flash/102815 "2004-02-27T08:58:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ubik](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@Ubik](https://forum.kirupa.com/u/Ubik)\
**Post date:** [February 27, 2004, 8:58am UTC](https://forum.kirupa.com/t/random-color-scheme-in-html-and-flash/102815/1 "2004-02-27T08:58:29Z")

</div>

I have a question in mind,  
How can you can make a website that when the user refresh the homepage (html), the image that appears is picked up randomly and then when you enter the site (flash) the whole color scheme will be the same as the homepage.  
Example :

Homepage (red color scheme) ----enter—\> main site (flash) (red color scheme)

Refresh homepage

Homepage (blue color scheme)----enter—\> main site (flash) (blue color scheme)  
and so on for different colors.

I hope you see what i mean  
And if someone has some idea how to accomplish it, you’re very welcome !:thumb:

Ubik
