public function colorScheme($key=null)
    {
        $all = $this->allColorSchemes();
        $allKeys = array_keys($all);
        if (count($allKeys)>0) {
            if ($key && isset($all[strtolower($key)])) {
                return $all[strtolower($key)];
            }    
            return $all[$allKeys[0]];
        }
        return null;
    }
public function colorScheme($key=null)
    {
        $all = $this->allColorSchemes();
        $allKeys = array_keys($all);
        if (count($allKeys)>0) {
            if ($key && isset($all[strtolower($key)])) {
                return $all[strtolower($key)];
            }    
            return $all[$allKeys[0]];
        }
        return null;
    }
public function colorScheme ( $ key = null ) { $ all = $ this -> allColorSchemes ( ) ; $ allKeys = array_keys ( $ all ) ; if ( count ( $ allKeys ) > 0 ) { if ( $ key && isset ( $ all [ strtolower ( $ key ) ] ) ) { return $ all [ strtolower ( $ key ) ] ; } return $ all [ $ allKeys [ 0 ] ] ; } return null ; }
Get color scheme

@param string $key Name of color scheme we want to get, if null the first color scheme will be return.

@return array Array of colors, null if there is no available
Get color scheme