function rand_color($color_array) {
$color = dechex(rand(3355443,13421772));
if (in_array($color, $color_array)) {
$color = rand_color($color_array);
}
return $color;

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-12-04
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-21
  • 2021-09-26
  • 2021-12-04
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案