Source for file shades_of_grey.php
Documentation is available at shades_of_grey.php
* Comment This theme generates random colors, featuring a
* light greyish background with dark text.
* @copyright 2000-2012 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: shades_of_grey.php 14248 2012-01-02 00:18:17Z pdontthink $
/** seed the random number generator */
for ($i =
0; $i <=
16; $i++
) {
/* background/foreground toggle */
if ($i ==
0 or $i ==
3 or $i ==
4 or $i ==
5 or $i ==
9 or $i ==
10 or $i ==
12 or $i ==
16) {
/** generate random color **/
/* set array element as hex string with hashmark (for HTML output) */
$color[$i] =
sprintf('#%02X%02X%02X',$r,$g,$b);
Documentation generated on Thu, 23 May 2013 04:23:00 +0200 by phpDocumentor 1.4.3