You could use the GET method by putting a variable in the link to the next page...something like:
"nextpage.php?bgcolor=black" or, dynamiclly, "nextpage.php?bgcolor=<?php echo $varforbgcolorofthispage ?>"
Then, on your next page, retrieve that var by using $_GET['bgcolor'].
But, doing it this way could be a pain, as you would have to have that appended to each of your links.