eo_get_event_textcolor
eo_get_event_textcolor( $color )
Accepts a color in RGB hex format and returns a string containing "#000000" (black) or "#ffffff" (white) depending on which would be more readable when overlaid on top of the supplied color.
Parameters
string
|
$color |
A color in RGB hex format with or without a leading hash
|
Return value
string
|
A string containing either "#000000" or "#ffffff"
|