mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Add color lib for color automation
This commit is contained in:
@@ -7849,6 +7849,7 @@ function getDictvalue($tablename, $field, $id, $checkentity = false, $rowidfield
|
||||
*/
|
||||
function colorIsLight($stringcolor)
|
||||
{
|
||||
$stringcolor = str_replace('#', '', $stringcolor);
|
||||
$res = -1;
|
||||
if (!empty($stringcolor))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user