Function getContrastYIQ
get black or white color, depending on contrast to $hexcolor used for nice, readable calendar colors
Package: CT-ChurchCore
Author:
Located at system/includes/functions.php
Author:
http://24ways.org/2010/calculating-color-contrast/ first tri lines added
Located at system/includes/functions.php
Parameters summary
string |
$hexcolor |
Return value summary
string
|
string |