13 lines
245 B
PHP
13 lines
245 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
class Chart
|
||
|
{
|
||
|
public static function colors(int $count = 5){
|
||
|
$colors = ['#fff7fb','#ece7f2','#d0d1e6','#a6bddb','#74a9cf','#3690c0','#0570b0','#045a8d','#023858'];
|
||
|
return json_encode($colors);
|
||
|
}
|
||
|
|
||
|
}
|