Update brewer colors

This commit is contained in:
Hillel Coren 2018-04-01 14:26:03 +03:00
parent f831042f0f
commit a5bbbed5ce

View File

@ -1349,38 +1349,19 @@ class Utils
public static function brewerColor($number) { public static function brewerColor($number) {
$colors = [ $colors = [
'#337AB7', '#0B629E',
'#3cb44b', '#43365B',
'#e6194b', '#63A188',
'#f58231', '#F7BF6C',
'#911eb4', '#D35746',
'#46f0f0', '#6CB4DD',
'#f032e6', '#034C78',
'#d2f53c', '#30253E',
'#fabebe', '#394648',
'#008080', '#F89941',
'#e6beff', '#F48568',
'#aa6e28', '#3495C6',
'#fffac8',
'#800000',
'#aaffc3',
'#808000',
'#000080',
'#808080',
]; ];
/*
$colors = [
'#1c9f77',
'#d95d02',
'#716cb1',
'#e62a8b',
'#5fa213',
'#e6aa04',
'#a87821',
'#676767',
];
*/
$number = ($number-1) % count($colors); $number = ($number-1) % count($colors);
return $colors[$number]; return $colors[$number];