From a5bbbed5ce492db55ab7c9c3ab13189216f0568d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 1 Apr 2018 14:26:03 +0300 Subject: [PATCH] Update brewer colors --- app/Libraries/Utils.php | 43 ++++++++++++----------------------------- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index 718aeea3648d..98cc00e5717f 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -1349,38 +1349,19 @@ class Utils public static function brewerColor($number) { $colors = [ - '#337AB7', - '#3cb44b', - '#e6194b', - '#f58231', - '#911eb4', - '#46f0f0', - '#f032e6', - '#d2f53c', - '#fabebe', - '#008080', - '#e6beff', - '#aa6e28', - '#fffac8', - '#800000', - '#aaffc3', - '#808000', - '#000080', - '#808080', + '#0B629E', + '#43365B', + '#63A188', + '#F7BF6C', + '#D35746', + '#6CB4DD', + '#034C78', + '#30253E', + '#394648', + '#F89941', + '#F48568', + '#3495C6', ]; - - /* - $colors = [ - '#1c9f77', - '#d95d02', - '#716cb1', - '#e62a8b', - '#5fa213', - '#e6aa04', - '#a87821', - '#676767', - ]; - */ $number = ($number-1) % count($colors); return $colors[$number];