diff options
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/calendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } } |