Add color lib for color automation

This commit is contained in:
John BOTELLA
2019-02-26 17:44:16 +01:00
parent 3ff94fa5fc
commit 9f0a93f68f
4 changed files with 152 additions and 8 deletions

View File

@@ -7849,6 +7849,7 @@ function getDictvalue($tablename, $field, $id, $checkentity = false, $rowidfield
*/
function colorIsLight($stringcolor)
{
$stringcolor = str_replace('#', '', $stringcolor);
$res = -1;
if (!empty($stringcolor))
{