public static function randColor() {
        $c = '#';
        $i = 0;
        while ($i++ < 3) {
            $c .= str_pad(dechex(mt_rand(0, 255)), 2, '0', STR_PAD_LEFT);
        }
        return $c;
    }
public static function randColor() {
        $c = '#';
        $i = 0;
        while ($i++ < 3) {
            $c .= str_pad(dechex(mt_rand(0, 255)), 2, '0', STR_PAD_LEFT);
        }
        return $c;
    }
public static function randColor ( ) { $ c = '#' ; $ i = 0 ; while ( $ i ++ < 3 ) { $ c .= str_pad ( dechex ( mt_rand ( 0 , 255 ) ) , 2 , '0' , STR_PAD_LEFT ) ; } return $ c ; }
Returns a random color.

@return string
Returns a random color .