Generate colors for charts (PHP)