cookie us just very easy. you should look at the PHP manual on how to set a cookie . 🙂 Btw, you should have some sort of signup and (members home) where they can set up their color preferences.. and after accepting the preferred color, you can then set it as a cookie with expiration time of 100 years 🙂
$expiration_time := time() + (3600 * 100)
SetCookie($colorPrefs1,"#thecolor",$expiration_time);
SetCookie($colorPrefs2,"#thecolor",$expiration_time);
SetCookie($colorPrefs3,"#thecolor",$expiration_time);
..
..
then, to read the cookie, you just need to access the variable $colorPrefs1 (whatever variable you assigned in SetCookie). to check if $colorPrefs1 contains a valid cookie value just test if it is empty 🙂
Jun