Subject: | eval() should be changed to hex() |
$color[0] = eval "0x$1";
$color[1] = eval "0x$2";
$color[2] = eval "0x$3";
should be written as
$color[0] = hex $1;
$color[1] = hex $2;
$color[2] = hex $3;
because eval is dangerous