px-files/themes/pickles2/php/top.php
public function get_color_scheme(){
		$colors = array();
		$colors['main'] = '#00a0e6';
		$hsb = [
			"h"=>198,
			"s"=>100,
			"b"=>90
		];
		$colors['thin'] = "#bae5f8";

		$colors['link'] = $colors['main'];
		$colors['text'] = '#333';
		$colors['white'] = '#fff';
		$colors['black'] = '#333';

		if( $hsb['s'] < 50 && $hsb['b'] > 50 ){
			// $colors['link'] = '#00f';
			$colors['thin'] = $colors['main'];
			$colors['link'] = '#000';
			$colors['white'] = '#333';
			$colors['black'] = '#fff';
		}
		return $colors;
	}
public function get_color_scheme(){
		$colors = array();
		$colors['main'] = '#00a0e6';
		$hsb = [
			"h"=>198,
			"s"=>100,
			"b"=>90
		];
		$colors['thin'] = "#bae5f8";

		$colors['link'] = $colors['main'];
		$colors['text'] = '#333';
		$colors['white'] = '#fff';
		$colors['black'] = '#333';

		if( $hsb['s'] < 50 && $hsb['b'] > 50 ){
			// $colors['link'] = '#00f';
			$colors['thin'] = $colors['main'];
			$colors['link'] = '#000';
			$colors['white'] = '#333';
			$colors['black'] = '#fff';
		}
		return $colors;
	}
カラースキームを取得
@return array カラースキーム