| 1 | <?php |
||
| 9 | class Colors |
||
| 10 | { |
||
| 11 | const HSV_VALUE = 1.0; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Config $config |
||
| 15 | * |
||
| 16 | * @return Color\RgbColor[] |
||
| 17 | * |
||
| 18 | * @throws \Barryvanveen\CCA\Exceptions\InvalidColorException |
||
| 19 | * @throws \Barryvanveen\CCA\Exceptions\InvalidHueException |
||
| 20 | */ |
||
| 21 | public static function getColors(Config $config): array |
||
| 29 | |||
| 30 | protected static function getEvenlyDistributedColors(int $hue, int $numberOfColors): array |
||
| 47 | } |
||
| 48 |