From 6a060ecd230f5b94b94dd08fc16845303627a1ab Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 1 Jul 2012 01:02:54 +0200 Subject: [PATCH] use light grey instead of white --- apps/calendar/lib/calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php index 6cac99ba489..7778242464c 100644 --- a/apps/calendar/lib/calendar.php +++ b/apps/calendar/lib/calendar.php @@ -303,6 +303,6 @@ class OC_Calendar_Calendar{ $blue = hexdec(substr($calendarcolor,2,2)); //recommendation by W3C $computation = ((($red * 299) + ($green * 587) + ($blue * 114)) / 1000); - return ($computation > 130)?'black':'white'; + return ($computation > 130)?'#000000':'#FAFAFA'; } }