Function wc_light_or_dark
Detect if we should use a light or dark colour on a background colour
Parameters summary
mixed |
$color |
|
string |
$dark = '#000000' |
(default: '#000000') |
string |
$light = '#FFFFFF' |
(default: '#FFFFFF') |
Return value summary
string
|